Skip to content

Commit

Permalink
Update gget_elm.py
Browse files Browse the repository at this point in the history
  • Loading branch information
lauraluebbert authored Oct 26, 2023
1 parent 5d6afaf commit fe45379
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions gget/gget_elm.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,9 +418,7 @@ def elm(

# Create out folder if it does not exist
if out:
directory = "/".join(out.split("/")[:-1])
if directory != "":
os.makedirs(directory, exist_ok=True)
os.makedirs(out, exist_ok=True)

if json:
ortholog_dict = json_package.loads(ortho_df.to_json(orient="records"))
Expand Down

0 comments on commit fe45379

Please sign in to comment.