LSSTDESC / sims_GCRCatSimInterface

LSST sims interface to gcr-catalogs
BSD 3-Clause "New" or "Revised" License
1 stars 5 forks source link

Homogenizes the GCR SED extraction between SEDFitter and DatabaseEmulator #60

Closed EiffL closed 6 years ago

EiffL commented 6 years ago

In the case of a composite catalog, gc.list_all_quantities(include_native=True) returns a list of tuples or simple string, in the latter case the loop over quantities affected by this PR would fail. So here is a small fix that simply reuses the same code as in SEDFitter.py

EiffL commented 6 years ago

This is just to correct a small unintended consequence of a fix to the last PR