Skip to content

Commit

Permalink
Rename profiles consistently to new db version fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Cengoni committed Apr 2, 2024
1 parent fea9440 commit b99f06f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions metaphlan/utils/fix_relab_mpa4.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def fix_relab_mpa4(input, output):
for line in rf:
if line.startswith('#mpa_v'):
release = line.strip()[1:]
line = '_'.join(line.split('_')[:-1])
wf.write('{}_202403\n'.format(line.strip()))
elif line.startswith('#') or line.startswith('UNCLASSIFIED'):
wf.write(line)
Expand Down

0 comments on commit b99f06f

Please sign in to comment.