Skip to content

Commit

Permalink
WIP: use database name as output dir/branch
Browse files Browse the repository at this point in the history
  • Loading branch information
dhimmel committed Oct 14, 2021
1 parent 4e96071 commit dcef0c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ensembl_genes/ensembl_genes.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ class Ensembl_Gene_Catalog_Writer(Ensembl_Gene_Queries):
def __init__(self, species: Union[str, Species], release: str):
release = str(release) # protect against fire
super().__init__(species=species, release=release)
directory = pathlib.Path("output", self.release)
directory = pathlib.Path("output", self.database)
directory.mkdir(exist_ok=True, parents=True)
self.output_directory = directory

Expand Down

0 comments on commit dcef0c6

Please sign in to comment.