Skip to content

Commit

Permalink
Update _method.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mwang87 committed Mar 8, 2019
1 parent 300a65f commit 7d02eed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion q2_metabolomics/_method.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def import_mzmine2(manifest: str, quantificationtable: str) -> biom.Table:

for header in row:
if header.find("Peak area") != -1:
filepath = os.path.basename(header.split(" ")[0])
filepath = os.path.basename(header.replace("Peak area", "").rstrip())
sid = sid_mapping[filepath]
output_dict[sid] = row[header]

Expand Down

0 comments on commit 7d02eed

Please sign in to comment.