Skip to content

Commit

Permalink
fix: amend syntax error in except statement
Browse files Browse the repository at this point in the history
  • Loading branch information
FynnFreyer committed Nov 8, 2023
1 parent e1164dd commit 1a7110b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions hivtrace/hivtrace.py
Original file line number Diff line number Diff line change
Expand Up @@ -341,9 +341,8 @@ def hivtrace(id,
lanl_tn93output_zip = os.path.join(resource_dir,
'LANL.TN93OUTPUT.csv.gz')
gunzip_file(lanl_tn93output_zip, LANL_TN93OUTPUT_CSV)
except e: # pragma: no cover
print("Oops, missing a resource file")
raise
except Exception as e:
raise Exception("Oops, missing a resource file") from e

# Python Parameters
SCORE_MATRIX = 'HIV_BETWEEN_F'
Expand Down

0 comments on commit 1a7110b

Please sign in to comment.