Skip to content

Commit

Permalink
flake fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
[email protected] committed Aug 3, 2023
1 parent 7840fac commit f3ba376
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions snakePipes/common_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -820,11 +820,11 @@ def writeTools(usedEnvs, wdir, workflowName, maindir):
f.write(line)
f.close()

def copySampleSheet(sampleSheet,wdir):
def copySampleSheet(sampleSheet, wdir):
if os.path.isfile(sampleSheet) and os.path.exists(wdir):
bname=os.path.basename(sampleSheet)
bname = os.path.basename(sampleSheet)
try:
shutil.copy(sampleSheet,os.path.join(wdir,bname))
shutil.copy(sampleSheet, os.path.join(wdir,bname))
except Exception as err:
print(f"Unexpected {err=}, {type(err)=}")
raise

0 comments on commit f3ba376

Please sign in to comment.