Skip to content

Commit

Permalink
fix output uploading bug
Browse files Browse the repository at this point in the history
Signed-off-by: Ayush Kamat <[email protected]>
  • Loading branch information
ayushkamat committed Nov 16, 2023
1 parent 86bc466 commit 0a3b8e6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion latch_cli/snakemake/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -1359,7 +1359,10 @@ def get_fn_code(
print(" Does not exist")
continue
lp.upload(local, remote)
if local.is_file():
lp.upload(local, remote)
else:
lp.upload_directory(local, remote)
print(" Done")
benchmark_file = {repr(self.job.benchmark)}
Expand Down

0 comments on commit 0a3b8e6

Please sign in to comment.