Skip to content

Commit

Permalink
Fix numpy v2 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfG committed Nov 20, 2024
1 parent 26d7264 commit e97f76f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ms2pip/search_space.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ class ProteomeSearchSpace(BaseModel):
min_length: int = 8
max_length: int = 30
min_precursor_mz: Optional[float] = 0
max_precursor_mz: Optional[float] = np.Inf
max_precursor_mz: Optional[float] = np.inf
cleavage_rule: str = "trypsin"
missed_cleavages: int = 2
semi_specific: bool = False
Expand All @@ -184,7 +184,7 @@ def __init__(self, **data: Any):
min_precursor_mz
Minimum precursor m/z for peptides. Default is 0.
max_precursor_mz
Maximum precursor m/z for peptides. Default is np.Inf.
Maximum precursor m/z for peptides. Default is np.inf.
cleavage_rule
Cleavage rule for peptide digestion. Default is "trypsin".
missed_cleavages
Expand Down

0 comments on commit e97f76f

Please sign in to comment.