Skip to content

Commit

Permalink
Merge pull request #314 from MannLabs/multiplex-bug
Browse files Browse the repository at this point in the history
BUG multiplexing fails due to missing column
  • Loading branch information
GeorgWa authored Aug 20, 2024
2 parents 3120b2c + 56f4ee3 commit 190de04
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion alphadia/plexscoring.py
Original file line number Diff line number Diff line change
Expand Up @@ -1722,8 +1722,10 @@ def collect_candidates(
"frame_center",
"frame_start",
"frame_stop",
"score",
]

candidate_df_columns += ["score"] if "score" in candidates_df.columns else []

df = utils.merge_missing_columns(
df,
candidates_df,
Expand Down

0 comments on commit 190de04

Please sign in to comment.