NSLS-II-CHX / CHX_BugReport

Unified issue-tracker for bugs in the data analysis JupyterHub at CHX
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

get_each_frame_intensity error #7

Closed rheadric closed 8 years ago

rheadric commented 8 years ago

imgsum, bad_frame_list = get_each_frame_intensity(good_series ,sampling = 1, bad_pixelthreshold=4e9, plot = True, uid=uid)

produces: . . . --> 399 if save: 400 #dt =datetime.now() 401 #CurTime = '%s%02d%02d-%02d%02d-' % (dt.year, dt.month, dt.day,dt.hour,dt.minute)

NameError: name 'save' is not defined

However, the function works fine with plot_=False.

yugangzhang commented 8 years ago

I updated the code and put "save" option in the function. It should work now.