Skip to content

Commit

Permalink
fix(gunc): TSV extension instead of feather for gunc file.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronmussig committed Mar 11, 2022
1 parent 5a9496a commit 5d0e84f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion magna/gunc/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def gunc_contig_assignment_gtdb_r95() -> pd.DataFrame:

def gunc_all_levels_gtdb_r95() -> pd.DataFrame:
"""Return GUNC output at all levels for the R95 GTDB."""
path = os.path.join(MAGNA_DIR, 'dataset', 'gunc', 'gtdb_95.all_levels.tsv')
path = os.path.join(MAGNA_DIR, 'dataset', 'gunc', 'gtdb_95.all_levels.feather')
if not os.path.isfile(path):
raise IOError(f'{path} does not exist.')
return pd.read_feather(path)
Expand Down

0 comments on commit 5d0e84f

Please sign in to comment.