HiPERCAM / hipercam

Python package for handling HiPERCAM data
3 stars 4 forks source link

genred failure #84

Closed paulkerry1 closed 3 years ago

paulkerry1 commented 3 years ago

Hi Tom

Testing genred on hipercam and ultraspec data yields this...

genred apfile - aperture input file [run0032]: rfile - reduce output file [run0032]: comment - user comment to add [ for newline to get multilines] []: bias - bias frame ['none' to ignore] [bias_slow_2x2]: bias2x2_slow flat - flat field frame ['none' to ignore] [kg5flat]: skyflat dark - dark field frame ['none' to ignore] [none]: fmap - fringe frame ['none' to ignore] [none]: linear - linear light curve plot? [False]: Traceback (most recent call last): File "/usr/local/bin/genred", line 8, in sys.exit(genred()) File "/usr/local/lib/python3.7/dist-packages/hipercam/scripts/genred.py", line 595, in genred "sinner", "inner sky aperture radius [unbinned pixels]", 30.0, rmax UnboundLocalError: local variable 'rmax' referenced before assignment

trmrsh commented 3 years ago

Fixed