Closed broulston closed 1 year ago
The reason for the None
printing is some stray print statements that somehow made their way to main. I've fixed this in a branch I am working on, will merge it soon.
Re the None
folder, that happens when a processor is initialized without setting the night directory. Can you give some more info on what kind of temporary files are being saved in it?
Oh ok, I had searched for some print statements but hadn't found any that looked like they might be the cause. Will wait for your update!
For the None files, it seems to be from the BasePhotometryProcessor
when doing the AperaturePhotometry
AA /Users/benjaminroulston/Dropbox/Research/Projects/SEDMv2/OUTPUT_DATA/None/photometry
winterdrp.processors.base_processor [l 304] - INFO - Saving to /Users/benjaminroulston/Dropbox/Research/Projects/SEDMv2/OUTPUT_DATA/None/photometry/kped_20221223_023057_ZTF22abveefy_sr_o_0000_8.resamp.fits
winterdrp.processors.base_processor [l 304] - INFO - Saving to /Users/benjaminroulston/Dropbox/Research/Projects/SEDMv2/OUTPUT_DATA/None/photometry/kped_20221223_023057_ZTF22abveefy_sr_o_0000_8.resamp.fits.unc
winterdrp.processors.photomet
First part (at least) solved by #369
@broulston can you check whether this is solved?
@broulston can you check whether this is solved?
Yes, confirm no more None
printed when run, and currently no more None
output directory made. Not sure if you intended to fix that, or if it is really fixed. But currently running it through as I did before it does not make that extre pipeline directory. 👍
Ok great. Closed by #369
Describe the bug When running a pipeline (e.g.
python -m winterdrp -p sedmv2 -c default_stellar -n 20221223
) a set ofNone
are printed in the output at the very beginning. Not sure if these are related to the MAX_N_CPUs or not.Potentially related is the fact that sometimes temporary files are saved to a
None
folder in theOUTPUT_DATA_DIR
instead of the expected cache directory.To Reproduce
Run a pipeline
python -m winterdrp -p sedmv2 -c default_stellar -n 20221223