Skip to content

Commit

Permalink
more lcean up
Browse files Browse the repository at this point in the history
  • Loading branch information
donaldcampbelljr committed Oct 9, 2023
1 parent 93d9d19 commit b9d4d8c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pipestat/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def link_files_in_directory(output_dir: str):

try:
os.mkdir(linkdir)
except:
except FileExistsError:
pass

Check warning on line 304 in pipestat/helpers.py

View check run for this annotation

Codecov / codecov/patch

pipestat/helpers.py#L303-L304

Added lines #L303 - L304 were not covered by tests

for root, dirs, files in os.walk(project_dir):
Expand Down Expand Up @@ -340,9 +340,10 @@ def link_files_from_results_file(data, results_dir):
project_dir = os.path.abspath(results_dir)
linkdir = os.path.join(project_dir, "link_results")
items = ["sample", "project"]

try:
os.mkdir(linkdir)
except:
except FileExistsError:
pass

Check warning on line 347 in pipestat/helpers.py

View check run for this annotation

Codecov / codecov/patch

pipestat/helpers.py#L346-L347

Added lines #L346 - L347 were not covered by tests

for i in items:
Expand Down

0 comments on commit b9d4d8c

Please sign in to comment.