Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Kiefer committed Jul 14, 2023
1 parent ba6c896 commit 805fbf5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion gcm_toolkit/utils/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,11 @@ def set_data(self, time, tag=None, regrid_lowres=False,

wrt.write_status("STAT", "Selected data set for petitRADTRANS interface")
wrt.write_status("INFO", "time: " + str(time))
wrt.write_status("INFO", "tag: " + tag)
if tag is not None:
wrt.write_status("INFO", "tag: " + tag)
else:
wrt.write_status("INFO", "No tag given")

if terminator_avg:
wrt.write_status("INFO", "Data set ready for transmission spectrum calculation")

Expand Down

0 comments on commit 805fbf5

Please sign in to comment.