diff --git a/mokapot/brew.py b/mokapot/brew.py index 8909b82..8dc7f73 100644 --- a/mokapot/brew.py +++ b/mokapot/brew.py @@ -228,8 +228,8 @@ def brew( max_workers=max_workers, ) ) - # If model training has failed else: + logging.info("Model training failed. Setting scores to zero.") scores = [np.zeros(x) for x in data_size] # Find which is best: the learned model, the best feature, or # a pretrained model. diff --git a/mokapot/mokapot.py b/mokapot/mokapot.py index b39dbaa..9f58f8e 100644 --- a/mokapot/mokapot.py +++ b/mokapot/mokapot.py @@ -123,6 +123,7 @@ def main(main_args=None): logging.info("BREW DELETE ME") for s in scores: logging.info(f"{s}") + logging.info(f"{(s == 0).all()}") if config.dest_dir is not None: config.dest_dir.mkdir(exist_ok=True)