Skip to content

Commit

Permalink
peptdeep upgraded
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouxiexuan committed Dec 19, 2023
1 parent 59c9b83 commit 1ca8265
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions alphaviz/contrib/reader_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

from alpharaw.ms_data_base import ms_reader_provider

from peptdeep.psm_frag_reader.library_frag_reader import (
SpectronautMSMSReader
from alphabase.spectral_library.reader import (
LibraryReaderBase
)
from peptdeep.psm_frag_reader.maxquant_frag_reader import (
MaxQuantMSMSReader
Expand Down Expand Up @@ -140,9 +140,8 @@ def _get_psm_reader(
max_frag_charge=max_frag_charge
)
elif psm_type.lower() in ['swath','spectroanut']:
reader = SpectronautMSMSReader(
frag_types=frag_types,
max_frag_charge=max_frag_charge
reader = LibraryReaderBase(
charged_frag_types=frag_types,
)
else:
reader = psm_reader_provider.get_reader(psm_type)
Expand Down

0 comments on commit 1ca8265

Please sign in to comment.