Skip to content

Commit

Permalink
Merge pull request #68 from lsst-camera-dh/LSSTTD-1518_save_info_from…
Browse files Browse the repository at this point in the history
…_ccs_versions_txt

persist info from ccs_versions.txt, if it exists
  • Loading branch information
jchiang87 authored Sep 29, 2020
2 parents c8967ed + 3bd5fdd commit 07c0533
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions harnessed_jobs/BOT_acq/v0/validator_BOT_acq.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@
cfg_files = glob.glob(bot_eo_acq_cfg.replace('.cfg', '') + '*.cfg')
results.extend([lcatr.schema.fileref.make(_) for _ in cfg_files])

try:
results = siteUtils.persist_ccs_versions(results)
except RuntimeError as eobj:
print('Error encountered in persisting CCS versions:\n', eobj)

results.extend(siteUtils.jobInfo())

lcatr.schema.write_file(results)
Expand Down

0 comments on commit 07c0533

Please sign in to comment.