Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions alphadia/libtransform/multiplex.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def forward(self, input: SpecLibBase) -> SpecLibBase:
input.precursor_df = input.precursor_df[
input.precursor_df["channel"] == self._input_channel
]
input.remove_unused_fragments()

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should always be safe to call. I'm still a bit surprised it's needed.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hm, do you think it's worth digging a bit deeper? maybe this is just the symptomatic cure for a more severe bug?


channel_lib_list = []
for channel, channel_mod_translations in self._multiplex_mapping.items():
Expand Down
Loading