<commit_before>from MSSpectrum cimport *
from DataValue cimport *
from ChromatogramPeak cimport *
from String cimport *

cdef extern from "<OpenMS/KERNEL/MSExperiment.h>" namespace "OpenMS":

    cdef cppclass MSExperiment[PeakT, ChromoPeakT]: # wrap=True; inst=("Peak1D", "ChromatogramPeak")
        # wrap-instances:
        #   MSExperiment := MSExperiment[Peak1D, ChromatogramPeak]

        MSExperiment()
        MSExperiment(MSExperiment[PeakT, ChromoPeakT] &) # wrap-ignore

        double getMinMZ()
        double getMaxMZ()
        double getMinRT()
        double getMaxRT()
        void sortSpectra(bool)
        int   size()
        MSSpectrum[PeakT] operator[](int)      except +
        void   updateRanges()
        void push_back(MSSpectrum[PeakT] spec) except +
        String getLoadedFilePath()
        void setLoadedFilePath(String path) except +
        void  setMetaValue(String key, DataValue value) except +
        DataValue getMetaValue(String key) except +

        libcpp_vector[MSSpectrum[PeakT]].iterator begin()        # wrap-ignore
        libcpp_vector[MSSpectrum[PeakT]].iterator end()          # wrap-ignore
        void  erase(libcpp_vector[MSSpectrum[PeakT]].iterator)   # wrap-ignore


<commit_msg>added wrapped iterator in MSExperiment.pxd<commit_after>from MSSpectrum cimport *
from DataValue cimport *
from ChromatogramPeak cimport *
from String cimport *

cdef extern from "<OpenMS/KERNEL/MSExperiment.h>" namespace "OpenMS":

    cdef cppclass MSExperiment[PeakT, ChromoPeakT]: # wrap=True; inst=("Peak1D", "ChromatogramPeak")
        # wrap-instances:
        #   MSExperiment := MSExperiment[Peak1D, ChromatogramPeak]

        MSExperiment()
        MSExperiment(MSExperiment[PeakT, ChromoPeakT] &) # wrap-ignore

        double getMinMZ()
        double getMaxMZ()
        double getMinRT()
        double getMaxRT()
        void sortSpectra(bool)
        int   size()
        MSSpectrum[PeakT] operator[](int)      except +
        void   updateRanges()
        void push_back(MSSpectrum[PeakT] spec) except +
        String getLoadedFilePath()
        void setLoadedFilePath(String path) except +
        void  setMetaValue(String key, DataValue value) except +
        DataValue getMetaValue(String key) except +

        libcpp_vector[MSSpectrum[PeakT]].iterator begin()        # wrap-iter-begin:__iter__(MSSpectrum)
        libcpp_vector[MSSpectrum[PeakT]].iterator end()          # wrap-iter-end:__iter__(MSSpectrum)
        void  erase(libcpp_vector[MSSpectrum[PeakT]].iterator)   # wrap-ignore



{'fraction_non_alphanumeric': 0.09447275578204625, 'fraction_numerical': 0.0015680125441003528, 'mean_word_length': 3.0636942675159236, 'pattern_counts': {'":': 2, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2244264', 'n_tokens_mistral': 830, 'n_tokens_neox': 794, 'n_words': 162}