Mercurial > repos > kkonganti > cfsan_cronology
comparison 0.2.0/modules/custom/dump_software_versions/templates/dumpsoftwareversions.py @ 18:a72c172df773 tip
planemo upload
author | kkonganti |
---|---|
date | Mon, 15 Jul 2024 21:40:42 -0400 |
parents | b571995ddb51 |
children |
comparison
equal
deleted
inserted
replaced
17:b571995ddb51 | 18:a72c172df773 |
---|---|
53 versions_this_module["${task.process}"] = { | 53 versions_this_module["${task.process}"] = { |
54 "python": platform.python_version(), | 54 "python": platform.python_version(), |
55 "yaml": yaml.__version__, | 55 "yaml": yaml.__version__, |
56 } | 56 } |
57 | 57 |
58 subprocess.run("cp $versions /galaxy/nf-work-dirs/", shell=True) | 58 # subprocess.run("cp $versions /galaxy/nf-work-dirs/", shell=True) |
59 | 59 |
60 with open("$versions") as f: | 60 with open("$versions") as f: |
61 versions_by_process = yaml.load(f, Loader=yaml.BaseLoader) | 61 versions_by_process = yaml.load(f, Loader=yaml.BaseLoader) |
62 versions_by_process.update(versions_this_module) | 62 versions_by_process.update(versions_this_module) |
63 | 63 |