Skip to content

Commit

Permalink
Merge pull request #22 from klarman-cell-observatory/boli
Browse files Browse the repository at this point in the history
Updated
  • Loading branch information
bli25 committed Jun 9, 2020
2 parents 656b7f6 + 5113506 commit f64c460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pegasusio/data_aggregation.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def aggregate_matrices(

if row["Location"].lower().startswith('gs://'): # if Google bucket
base_name = os.path.basename(copy_path)
dest_path = idx_num + "_tmp_" + base_name # id_num will make sure dest_path is unique in the sample sheet
dest_path = f"{idx_num}_tmp_{base_name}" # id_num will make sure dest_path is unique in the sample sheet
if not os.path.exists(dest_path): # if dest_path exists, we may try to localize it once and may have the file cached
if copy_type == "directory":
check_call(["mkdir", "-p", dest_path])
Expand Down

0 comments on commit f64c460

Please sign in to comment.