Skip to content

Commit

Permalink
Merge branch 'bhtom2-dev' into bhtom2-test
Browse files Browse the repository at this point in the history
  • Loading branch information
Yurii Purdenko committed Dec 2, 2024
2 parents 5cc0ad4 + dacd541 commit e583d32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bhtom2/bhtom_common/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def get_calibration_data(self, obj):
'id': cal.id or "",
'time_photometry': cal.modified or "",
'mjd': cal.mjd or "",
'calib_survey_filter': f"{cal.use_catalog.survey or ''}/{cal.use_catalog.filters or ''}",
'calib_survey_filter': f"{cal.use_catalog.survey or ''}/{cal.use_catalog.filters or ''}" if cal.use_catalog else "",
'standardised_to': f"{cal.survey or ''}/{cal.best_filter or ''}" if cal.survey and cal.best_filter else "",
'magnitude': cal.mag or "",
'zp': cal.zeropoint or "",
Expand Down

0 comments on commit e583d32

Please sign in to comment.