Skip to content

Commit

Permalink
[FIX] Ensure manifest files regenerate when --remake used too
Browse files Browse the repository at this point in the history
  • Loading branch information
DESm1th committed Nov 12, 2024
1 parent 3f6a409 commit bfadd08
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/dm_qc_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,10 @@ def add_scan_length(nii_path, scan):


def remove_outputs(metric):
try:
os.remove(metric.manifest_path)
except FileNotFoundError:
pass
for command in metric.outputs:
for item in metric.outputs[command]:
try:
Expand Down

0 comments on commit bfadd08

Please sign in to comment.