Skip to content

Commit

Permalink
Address review
Browse files Browse the repository at this point in the history
  • Loading branch information
Vince-janv committed Feb 21, 2025
1 parent 8665d0c commit 369b08d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cg/apps/scout/scoutapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,13 +318,12 @@ def upload_rna_fraser_outrider(
]
if fraser_file_path:
upload_command.extend(["--fraser", fraser_file_path])
LOG.info(f"Uploading rna fraser file {fraser_file_path} to case {case_id}")

if outrider_file_path:
upload_command.extend(["--outrider", outrider_file_path])
LOG.info(f"Uploading outrider file {outrider_file_path} to case {case_id}")
try:
LOG.info(
f"Uploading rna fraser file {fraser_file_path} and outrider file {outrider_file_path} to case {case_id} with command {upload_command}"
)
self.process.run_command(upload_command)
except CalledProcessError as error:
raise ScoutUploadError("Something went wrong when uploading rna fraser file") from error
Expand Down

0 comments on commit 369b08d

Please sign in to comment.