mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Remove now-deprecated params + more defensive
This commit is contained in:
@@ -292,11 +292,15 @@ def main(argv):
|
||||
|
||||
# Now on to outputs.
|
||||
with tarfile.open(REPORT_BASE + '.tar.gz', 'w:gz') as handle:
|
||||
for name in ('jobs', 'metric_num', 'params', 'datasets'):
|
||||
handle.add(REPORT_BASE + '.' + name + '.tsv')
|
||||
for name in ('jobs', 'metric_num', 'datasets'):
|
||||
path = REPORT_BASE + '.' + name + '.tsv'
|
||||
if os.path.exists(path):
|
||||
handle.add(path)
|
||||
|
||||
for name in ('jobs', 'metric_num', 'params', 'datasets'):
|
||||
os.unlink(REPORT_BASE + '.' + name + '.tsv')
|
||||
for name in ('jobs', 'metric_num', 'datasets'):
|
||||
path = REPORT_BASE + '.' + name + '.tsv'
|
||||
if os.path.exists(path):
|
||||
os.unlink(REPORT_BASE + '.' + name + '.tsv')
|
||||
|
||||
_times.append(('job_finish', time.time() - _start_time))
|
||||
sha = hash_util.memory_bound_hexdigest(hash_util.sha256, REPORT_BASE + ".tar.gz")
|
||||
|
||||
Reference in New Issue
Block a user