Skip to content

Commit

Permalink
Merge pull request #90 from wilhelm-lab/feature/improve_compatiblity_…
Browse files Browse the repository at this point in the history
…with_multiprocessing

Hotfix progress bar.
  • Loading branch information
LLautenbacher authored May 13, 2024
2 parents 294ff43 + 0389ee1 commit da580e1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion clients/python/koinapy/grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
import warnings
from functools import partial
from typing import Dict, Generator, KeysView, List, Optional, Union
from math import ceil


import numpy as np
import pandas as pd
Expand Down Expand Up @@ -517,7 +519,7 @@ def __predict_semi_async(self, data, debug=False, disable_progress_bar=False):
results = []
data_subsets = list(self.__slice_dict(data, self.batchsize * 10))
pbar = tqdm(
total=len(data_subsets) * 10,
total=ceil(next(iter(data.values())).shape[0] / self.batchsize),
desc=f"{self.model_name}:",
disable=disable_progress_bar,
)
Expand Down
6 changes: 3 additions & 3 deletions models/Prosit/Prosit_2023_intensity_timsTOF/notes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ description: |
The TOF Prosit 2023 model demonstrates consistent performance across different precursor charges, peptide lengths, and collision energies, with minimal bias towards C- and N-terminal amino acids. Both the tryptic and non-tryptic timsTOF data are available via PRIDE, with the identifiers PXD019086 and PXD043844, respectively.
citation: |
Fragment ion intensity prediction improves the identification rate of non-tryptic peptides in TimsTOF
Charlotte Adams, Wassim Gabriel, Kris Laukens, Mathias Wilhelm, Wout Bittremieux, Kurt Boonen
bioRxiv 2023.07.17.549401; doi: https://doi.org/10.1101/2023.07.17.549401
Fragment ion intensity prediction improves the identification rate of non-tryptic peptides in timsTOF.
Adams, C., Gabriel, W., Laukens, K. et al.
Nat Commun 15, 3956 (2024). https://doi.org/10.1038/s41467-024-48322-0
tag: "Intensity"
tag_url: "https://www.wilhelmlab.org/"
examples:
Expand Down

0 comments on commit da580e1

Please sign in to comment.