Skip to content

Commit

Permalink
Merge pull request #434 from MannLabs/lib-fix
Browse files Browse the repository at this point in the history
Hotfix for alphaBase bug
  • Loading branch information
GeorgWa authored Jan 17, 2025
2 parents ff2469c + 07d21bb commit b9aa274
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions alphadia/libtransform.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,10 @@ def forward(self, input_path: str) -> SpecLibBase:
else:
raise ValueError(f"File type {file_type} not supported")

# TODO: this is a hack to get the charged_frag_types from the fragment_mz_df
# this should be fixed ASAP in alphabase
library.charged_frag_types = library.fragment_mz_df.columns.tolist()

return library


Expand Down

0 comments on commit b9aa274

Please sign in to comment.