ICSM / ampere

A tool to fit the SED and spectra of dusty objects to constrain, among other things, the dust properties and mineralogy
6 stars 2 forks source link

Logging problem #54

Closed SaschaZeegers closed 2 years ago

SaschaZeegers commented 2 years ago

line 269: logging.info("Length of filter units: ",len(photUnits))

This line appears before len(photUnits) is defined, so when the code uses photometry it will crash here.

jontymarshall commented 2 years ago

I moved the logging for photunits until after the try/except block in lines 270-288.