NSLS-II / pyCHX

chx_analysis_codes
BSD 3-Clause "New" or "Revised" License
5 stars 6 forks source link

Badpixels.py SyntaxError #27

Closed mrakitin closed 4 years ago

mrakitin commented 4 years ago

Saw this error in https://travis-ci.org/NSLS-II/lightsource2-recipes/jobs/599382770#L668-L672:

compiling .pyc files...

  File "lib/python3.6/site-packages/pyCHX/Badpixels.py", line 28

    '6cc34a':  np.array( [ 1058942, 2105743, 2105744, 2107813, 2107815, 2109883, 4155535] ) #  coralpor

           ^

SyntaxError: invalid syntax
mrakitin commented 4 years ago

The problem is with the missing comma on line 26: https://github.com/NSLS-II-CHX/pyCHX/blob/966e4f7df526a3b13d4528e92354adb8cf956661/pyCHX/Badpixels.py#L17-L30

mrakitin commented 4 years ago

Closed by #31.