Skip to content

Commit 2d8e211

Browse files
authored
Update README.md
1 parent 973d6ed commit 2d8e211

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,13 @@ from mscheck.analyse import AnalyseSpectrum
4646
# Create MS scptrum object and find peaks
4747
test = AnalyseSpectrum("<path to .mzML file>", mode="Positive")
4848
49-
# Analyse test spectrum
50-
test.analyse(compoundsmiles=target_compound,
49+
# Set SMILES of target to search for
50+
target_SMILES = "CCOC(=O)N1CCN(C(=O)N2CCN(C(=O)c3ccco3)CC2)CC1"
51+
52+
# Analyse test spectrum searching for target SMILES
53+
test.analyse(compoundsmiles=target_SMILES,
5154
ionstoadd=["[H]", "[Na]", "[K]", "[NH4+]"],
52-
tolerance=1)test.analyse
55+
tolerance=1)
5356
5457
# Create a .svg report - if you do not give a compound_name
5558
# the ending leaf of the file name will be used

0 commit comments

Comments
 (0)