I get unexpected results when using --apply_weights with XGBoost if a --ss_main_score was set manually.
E.g.
pyprophet score --in in.oswpq --level=ms1ms2 --classifier=XGBoost --ss_main_score=var_dotprod_score
- Trains the model as expected
However if this command is used
pyprophet score --in in.oswpq --level=ms1ms2 --classifier=XGBoost --apply_weights=weights.bin
The weights are applied to the incorrect scores

(Same weights on different columns)
To get the expected results the --ss_main_score has to be specified as in the original run
pyprophet score --in in.oswpq --level=ms1ms2 --classifier=XGBoost --ss_main_score=var_dotprod_score --apply_weights=weights.bin
It would be nice if this was detected automatically somehow