Skip to content

Commit 132f3f7

Browse files
committed
update & bug fix
1 parent ada3654 commit 132f3f7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/source/user_guide/interactive_plots.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ interactively zoomed-in if you execute the code in a notebook
3535
exp.updateRanges()
3636
expandcols = ["RT", "mz", "inty"]
3737
spectraarrs2d = exp.get2DPeakDataLong(
38-
exp.getMinRT(), exp.getMaxRT(), exp.getMinMZ(), exp.getMaxMZ()
38+
exp.getMinRT(), exp.getMaxRT(), exp.getMinMZ(), exp.getMaxMZ(), 1
3939
)
4040
spectradf = pd.DataFrame(dict(zip(expandcols, spectraarrs2d)))
4141
spectradf = spectradf.set_index(["RT", "mz"])

docs/source/user_guide/untargeted_metabolomics_preprocessing.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ Map :term:`MS2` spectra to features as :py:class:`~.PeptideIdentification` objec
164164
pep_ids = oms.PeptideIdentificationList()
165165
for pep_id in feature.getPeptideIdentifications():
166166
pep_id.setIdentifier(f"Identifier_{i}")
167-
pep_ids.append(pep_id)
167+
pep_ids.push_back(pep_id)
168168
feature.setPeptideIdentifications(pep_ids)
169169
fm_new.push_back(feature)
170170
feature_maps_mapped.append(fm_new)

0 commit comments

Comments
 (0)