Skip to content

Commit 78d6024

Browse files
authored
fix PSM_to_features.rst
1 parent fbdfcac commit 78d6024

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/source/user_guide/PSM_to_features.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ Use the configured `IDMapper` to link peptide IDs to the FeatureMap:
6969

7070
.. code-block:: python
7171
72-
id_mapper.annotate(feature_map, peptide_ids, protein_ids, use_centroid_rt=True, use_centroid_mz=True, spectra=None)
72+
spectra = oms.MSExperiment()
73+
id_mapper.annotate(feature_map, peptide_ids, protein_ids, True, True, spectra)
7374
7475
Step 5: Save the Annotated FeatureMap
7576
--------------------------------------

0 commit comments

Comments
 (0)