Skip to content

Commit

Permalink
Update docs/source/user_guide/peptides_proteins.rst
Browse files Browse the repository at this point in the history
look more good

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
Arslan-Siraj and github-actions[bot] committed Mar 1, 2024
1 parent 885ae45 commit 17c8b19
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions docs/source/user_guide/peptides_proteins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -349,10 +349,14 @@ In this tutorial, we will cover a step-by-step guide on how to use the pyopenms
# Generate the modified peptides
peptides_with_variable_modifications = []
keep_unmodified_in_result = False
poms.ModifiedPeptideGenerator.applyVariableModifications(variable_modifications, sequence, max_variable_mods,
peptides_with_variable_modifications,
keep_unmodified_in_result)
poms.ModifiedPeptideGenerator.applyVariableModifications(
variable_modifications,
sequence,
max_variable_mods,
peptides_with_variable_modifications,
keep_unmodified_in_result,
)
# Print the modified peptides generated using Fixed modifications and their mono-isotopic mass.
print("Fixed:", sequence.toString())
print("Mono-isotopic mass:", sequence.getMonoWeight())
Expand Down

0 comments on commit 17c8b19

Please sign in to comment.