mwcraig / reducer

Friendly professional-level data reduction...documentation here:
https://reducer.readthedocs.org
BSD 3-Clause "New" or "Revised" License
26 stars 10 forks source link

`master_source` is not being refreshed before trying to use the masters #127

Closed mwcraig closed 8 years ago

mwcraig commented 8 years ago

This is the underlying cause of the bug that @JuanCab was seeing. It appears if a reduction step cell (e.g. calibrating dark images) is executed before the masters needed for that step have been created (and they may extend to executing the dark calibration cell before the previous master_bias creating cell has finished executing, not sure).

As a result, the image collection does not know about the master even though the master exists in the folder.

mwcraig commented 8 years ago

Note to future self: The fix to this should go in the Reduction widget, I think, not in CalibrationStep._master_image.