Skip to content

Commit

Permalink
default use_single_model True
Browse files Browse the repository at this point in the history
  • Loading branch information
rodvrees committed Apr 15, 2024
1 parent 9b21acc commit d7bb1b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions im2deep/im2deep.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ def predict_ccs(

path_model_list = list(path_model.glob("*.hdf5"))
if use_single_model:
path_model_list = [path_model_list[1]]
LOGGER.debug("Using model {}".format(path_model_list[2]))
path_model_list = [path_model_list[2]]

dlc = DeepLC(path_model=path_model_list, n_jobs=n_jobs, predict_ccs=True)
LOGGER.info("Predicting CCS values...")
Expand All @@ -54,7 +55,6 @@ def predict_ccs(
use_charge_state=use_charge_state,
)

LOGGER.debug(psm_list_pred_df)
if write_output:
LOGGER.info("Writing output file...")
output_file = open(output_file, "w")
Expand Down

0 comments on commit d7bb1b6

Please sign in to comment.