guillochon/MOSFiT

Not printing full band list?

villrv opened this issue · 1 comments

MOSFiT typically lists the bands being used in the fit:

Loading bands complete.

Bands being used for current transient:

In one instance, I tried to fit a LC with ugrizy data, but it only listed g and r as the bands being used in the fitting process. However, when I looked at the output file, it did produce ugrizy bands. I believe the program was in fact fitting all of the bands, but only printed two of the filters being used.

This may be due to having only 1 data point in the uizy filters?

This is actually a printing issue where Python print's flush argument is being ignored for some reason. Adding a sys.stdout.flush() call after printing the covariance square seems to fix things, as is done in eb5682b.