Mercurial > repos > kkonganti > cfsan_cronology
comparison 0.2.0/modules/custom/dump_software_versions/templates/dumpsoftwareversions.py @ 17:b571995ddb51
planemo upload
author | kkonganti |
---|---|
date | Mon, 15 Jul 2024 19:01:29 -0400 |
parents | a5f31c44f8c9 |
children | a72c172df773 |
comparison
equal
deleted
inserted
replaced
16:bc5d019d2c3a | 17:b571995ddb51 |
---|---|
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) | |
59 | |
58 with open("$versions") as f: | 60 with open("$versions") as f: |
59 versions_by_process = yaml.load(f, Loader=yaml.BaseLoader) | 61 versions_by_process = yaml.load(f, Loader=yaml.BaseLoader) |
60 versions_by_process.update(versions_this_module) | 62 versions_by_process.update(versions_this_module) |
61 | 63 |
62 # aggregate versions by the module name (derived from fully-qualified process name) | 64 # aggregate versions by the module name (derived from fully-qualified process name) |