Skip to content

Commit

Permalink
Always print the chandra_models version, even if it is None (specifie…
Browse files Browse the repository at this point in the history
…d JSON file)
  • Loading branch information
jzuhone committed Jul 24, 2023
1 parent 10bd3d6 commit 3b9894e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions acis_thermal_check/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -1442,8 +1442,7 @@ def _setup_proc_and_logger(self, args):
% (self.name, proc["run_time"], proc["run_user"]),

Check failure on line 1442 in acis_thermal_check/main.py

View workflow job for this annotation

GitHub Actions / build

Ruff (UP031)

acis_thermal_check/main.py:1441:13: UP031 Use format specifiers instead of percent format
)
mylog.info("# acis_thermal_check version = %s", version)
if cm_version is not None:
mylog.info("# chandra_models version = %s", cm_version)
mylog.info("# chandra_models version = %s", cm_version)
args_out = args.__dict__.copy()
args_out["outdir"] = str(args.outdir.resolve())
args_out["model_spec"] = ms_out
Expand Down

0 comments on commit 3b9894e

Please sign in to comment.