Skip to content

Commit

Permalink
fixed bug when copying input files to log dir (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
rnmitchell committed Aug 5, 2024
1 parent fba877a commit 2232a3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lusSTR/workflows/snps.smk
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def create_log(log):
shell("mkdir -p logs/{dt}/input/")
shell("cp {log} logs/{dt}/strs.log")
if os.path.isdir(input_name):
shell("cp {input_name}/* logs/{dt}/input/")
shell("cp {input_name}/*.* logs/{dt}/input/")
else:
shell("cp '{input_name}' logs/{dt}/input/")
shell("cp snp_config.yaml logs/{dt}/")
Expand Down
2 changes: 1 addition & 1 deletion lusSTR/workflows/strs.smk
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def create_log(log):
shell("mkdir -p logs/{dt}/input/")
shell("cp {log} logs/{dt}/strs.log")
if os.path.isdir(input_name):
shell("cp {input_name}/* logs/{dt}/input/")
shell("cp {input_name}/*.* logs/{dt}/input/")
else:
shell("cp '{input_name}' logs/{dt}/input/")
shell("cp config.yaml logs/{dt}/")
Expand Down

0 comments on commit 2232a3f

Please sign in to comment.