Skip to content

Commit 56bb00d

Browse files
committed
Merge branch '191_decon_corr_patch' into 'master'
Remove hard coded parameter in calculation of deconvoluted MS1 in lc_calc module Closes #191 See merge request mass-spectrometry/corems!152
2 parents 8e84b33 + f6af63e commit 56bb00d

File tree

10 files changed

+2019
-2021
lines changed

10 files changed

+2019
-2021
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 3.2.0
2+
current_version = 3.2.1
33
commit = False
44
tag = False
55

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ CoreMS aims to provide
4949

5050
## Current Version
5151

52-
`3.2.0`
52+
`3.2.1`
5353

5454
***
5555

@@ -335,11 +335,11 @@ UML (unified modeling language) diagrams for Direct Infusion FT-MS and GC-MS cla
335335
336336
If you use CoreMS in your work, please use the following citation:
337337
338-
Version [3.2.0 Release on GitHub](https://github.com/EMSL-Computing/CoreMS/releases/tag/v3.2.0), archived on Zenodo:
338+
Version [3.2.1 Release on GitHub](https://github.com/EMSL-Computing/CoreMS/releases/tag/v3.2.1), archived on Zenodo:
339339
340340
[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.14009575.svg)](https://doi.org/10.5281/zenodo.14009575)
341341
342-
Yuri E. Corilo, William R. Kew, Lee Ann McCue, Katherine R . Heal, James C. Carr (2024, October 29). EMSL-Computing/CoreMS: CoreMS 3.2.0 (Version v3.2.0), as developed on Github. Zenodo. http://doi.org/10.5281/zenodo.14009575
342+
Yuri E. Corilo, William R. Kew, Lee Ann McCue, Katherine R . Heal, James C. Carr (2024, October 29). EMSL-Computing/CoreMS: CoreMS 3.2.1 (Version v3.2.1), as developed on Github. Zenodo. http://doi.org/10.5281/zenodo.14009575
343343
344344
```
345345

corems/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__author__ = "Yuri E. Corilo"
2-
__version__ = "3.2.0"
2+
__version__ = "3.2.1"
33
import time
44
import os
55
import sys

corems/mass_spectra/calc/lc_calc.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -758,7 +758,6 @@ def deconvolute_ms1_mass_features(self):
758758

759759
# Subset the correlation matrix to only include the masses of the mass feature and those with a correlation > 0.8
760760
decon_corr_min = self.parameters.lc_ms.ms1_deconvolution_corr_min
761-
decon_corr_min = 0.9
762761
corr_subset = corr.loc[mass_feature.mz,]
763762
corr_subset = corr_subset[corr_subset > decon_corr_min]
764763

docs/corems.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ <h1 id="corems">CoreMS</h1>
154154

155155
<h2 id="current-version">Current Version</h2>
156156

157-
<p><code>3.2.0</code></p>
157+
<p><code>3.2.1</code></p>
158158

159159
<hr />
160160

@@ -487,11 +487,11 @@ <h2 id="citing-corems">Citing CoreMS</h2>
487487

488488
<p>If you use CoreMS in your work, please use the following citation:</p>
489489

490-
<p>Version <a href="https://github.com/EMSL-Computing/CoreMS/releases/tag/v3.2.0">3.2.0 Release on GitHub</a>, archived on Zenodo: </p>
490+
<p>Version <a href="https://github.com/EMSL-Computing/CoreMS/releases/tag/v3.2.1">3.2.1 Release on GitHub</a>, archived on Zenodo: </p>
491491

492492
<p><a href="https://doi.org/10.5281/zenodo.14009575"><img src="https://zenodo.org/badge/DOI/10.5281/zenodo.14009575.svg" alt="DOI" /></a></p>
493493

494-
<p>Yuri E. Corilo, William R. Kew, Lee Ann McCue, Katherine R . Heal, James C. Carr (2024, October 29). EMSL-Computing/CoreMS: CoreMS 3.2.0 (Version v3.2.0), as developed on Github. Zenodo. <a href="http://doi.org/10.5281/zenodo.14009575">http://doi.org/10.5281/zenodo.14009575</a></p>
494+
<p>Yuri E. Corilo, William R. Kew, Lee Ann McCue, Katherine R . Heal, James C. Carr (2024, October 29). EMSL-Computing/CoreMS: CoreMS 3.2.1 (Version v3.2.1), as developed on Github. Zenodo. <a href="http://doi.org/10.5281/zenodo.14009575">http://doi.org/10.5281/zenodo.14009575</a></p>
495495

496496
<p>```</p>
497497

@@ -527,7 +527,7 @@ <h2 id="citing-corems">Citing CoreMS</h2>
527527
<label class="view-source-button" for="mod-corems-view-source"><span>View Source</span></label>
528528

529529
<div class="pdoc-code codehilite"><pre><span></span><span id="L-1"><a href="#L-1"><span class="linenos"> 1</span></a><span class="n">__author__</span> <span class="o">=</span> <span class="s2">&quot;Yuri E. Corilo&quot;</span>
530-
</span><span id="L-2"><a href="#L-2"><span class="linenos"> 2</span></a><span class="n">__version__</span> <span class="o">=</span> <span class="s2">&quot;3.2.0&quot;</span>
530+
</span><span id="L-2"><a href="#L-2"><span class="linenos"> 2</span></a><span class="n">__version__</span> <span class="o">=</span> <span class="s2">&quot;3.2.1&quot;</span>
531531
</span><span id="L-3"><a href="#L-3"><span class="linenos"> 3</span></a><span class="kn">import</span> <span class="nn">time</span>
532532
</span><span id="L-4"><a href="#L-4"><span class="linenos"> 4</span></a><span class="kn">import</span> <span class="nn">os</span>
533533
</span><span id="L-5"><a href="#L-5"><span class="linenos"> 5</span></a><span class="kn">import</span> <span class="nn">sys</span>

docs/corems/encapsulation/factory/parameters.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ <h6 id="notes">Notes</h6>
747747
<div class="attr variable">
748748
<span class="name">molecular_search</span> =
749749
<input id="MSParameters.molecular_search-view-value" class="view-value-toggle-state" type="checkbox" aria-hidden="true" tabindex="-1">
750-
<label class="view-value-button pdoc-button" for="MSParameters.molecular_search-view-value"></label><span class="default_value">MolecularFormulaSearchSettings(verbose_processing=True, use_isotopologue_filter=False, isotopologue_filter_threshold=33.0, isotopologue_filter_atoms=(&#39;Cl&#39;, &#39;Br&#39;), use_runtime_kendrick_filter=False, use_min_peaks_filter=True, min_peaks_per_class=15, url_database=&#39;postgresql+psycopg2://coremsappdb:coremsapppnnl@molformdb:5432/coremsapp&#39;, db_jobs=3, db_chunk_size=300, ion_charge=-1, min_hc_filter=0.3, max_hc_filter=3.0, min_oc_filter=0.0, max_oc_filter=1.2, min_op_filter=2.0, use_pah_line_rule=False, min_dbe=0.0, max_dbe=40.0, mz_error_score_weight=0.6, isotopologue_score_weight=0.4, adduct_atoms_neg=(&#39;Cl&#39;, &#39;Br&#39;), adduct_atoms_pos=(&#39;Na&#39;, &#39;K&#39;), score_methods=(&#39;S_P_lowest_error&#39;, &#39;N_S_P_lowest_error&#39;, &#39;lowest_error&#39;, &#39;prob_score&#39;, &#39;air_filter_error&#39;, &#39;water_filter_error&#39;, &#39;earth_filter_error&#39;), score_method=&#39;prob_score&#39;, output_min_score=0.1, output_score_method=&#39;All Candidates&#39;, isRadical=False, isProtonated=True, isAdduct=False, usedAtoms={&#39;C&#39;: (1, 100), &#39;H&#39;: (1, 200)}, ion_types_excluded=[], ionization_type=&#39;ESI&#39;, min_ppm_error=-10.0, max_ppm_error=10.0, min_abun_error=-100.0, max_abun_error=100.0, mz_error_range=1.5, error_method=&#39;None&#39;, mz_error_average=0.0, used_atom_valences={&#39;C&#39;: 4, &#39;13C&#39;: 4, &#39;N&#39;: 3, &#39;O&#39;: 2, &#39;S&#39;: 2, &#39;H&#39;: 1, &#39;F&#39;: 1, &#39;Cl&#39;: 1, &#39;Br&#39;: 1, &#39;I&#39;: 1, &#39;At&#39;: 1, &#39;Li&#39;: 1, &#39;Na&#39;: 1, &#39;K&#39;: 1, &#39;Rb&#39;: 1, &#39;Cs&#39;: 1, &#39;Fr&#39;: 1, &#39;B&#39;: 4, &#39;In&#39;: 3, &#39;Al&#39;: 3, &#39;P&#39;: 3, &#39;Ga&#39;: 3, &#39;Mg&#39;: 2, &#39;Be&#39;: 2, &#39;Ca&#39;: 2, &#39;Sr&#39;: 2, &#39;Ba&#39;: 2, &#39;Ra&#39;: 2, &#39;V&#39;: 5, &#39;Fe&#39;: 3, &#39;Si&#39;: 4, &#39;Sc&#39;: 3, &#39;Ti&#39;: 4, &#39;Cr&#39;: 1, &#39;Mn&#39;: 1, &#39;Co&#39;: 1, &#39;Ni&#39;: 1, &#39;Cu&#39;: 2, &#39;Zn&#39;: 2, &#39;Ge&#39;: 4, &#39;As&#39;: 5, &#39;Se&#39;: 6, &#39;Y&#39;: 3, &#39;Zr&#39;: 4, &#39;Nb&#39;: 5, &#39;Mo&#39;: 6, &#39;Tc&#39;: 7, &#39;Ru&#39;: 8, &#39;Rh&#39;: 6, &#39;Pd&#39;: 4, &#39;Ag&#39;: 0, &#39;Cd&#39;: 2, &#39;Sn&#39;: 4, &#39;Sb&#39;: 5, &#39;Te&#39;: 6, &#39;La&#39;: 3, &#39;Hf&#39;: 4, &#39;Ta&#39;: 5, &#39;W&#39;: 6, &#39;Re&#39;: 4, &#39;Os&#39;: 4, &#39;Ir&#39;: 4, &#39;Pt&#39;: 4, &#39;Au&#39;: 3, &#39;Hg&#39;: 1, &#39;Tl&#39;: 3, &#39;Pb&#39;: 4, &#39;Bi&#39;: 3, &#39;Po&#39;: 2, &#39;Ac&#39;: 3})</span>
750+
<label class="view-value-button pdoc-button" for="MSParameters.molecular_search-view-value"></label><span class="default_value">MolecularFormulaSearchSettings(verbose_processing=True, use_isotopologue_filter=False, isotopologue_filter_threshold=33.0, isotopologue_filter_atoms=(&#39;Cl&#39;, &#39;Br&#39;), use_runtime_kendrick_filter=False, use_min_peaks_filter=True, min_peaks_per_class=15, url_database=&#39;postgresql+psycopg2://coremsappdb:coremsapppnnl@localhost:5432/coremsapp&#39;, db_jobs=3, db_chunk_size=300, ion_charge=-1, min_hc_filter=0.3, max_hc_filter=3.0, min_oc_filter=0.0, max_oc_filter=1.2, min_op_filter=2.0, use_pah_line_rule=False, min_dbe=0.0, max_dbe=40.0, mz_error_score_weight=0.6, isotopologue_score_weight=0.4, adduct_atoms_neg=(&#39;Cl&#39;, &#39;Br&#39;), adduct_atoms_pos=(&#39;Na&#39;, &#39;K&#39;), score_methods=(&#39;S_P_lowest_error&#39;, &#39;N_S_P_lowest_error&#39;, &#39;lowest_error&#39;, &#39;prob_score&#39;, &#39;air_filter_error&#39;, &#39;water_filter_error&#39;, &#39;earth_filter_error&#39;), score_method=&#39;prob_score&#39;, output_min_score=0.1, output_score_method=&#39;All Candidates&#39;, isRadical=False, isProtonated=True, isAdduct=False, usedAtoms={&#39;C&#39;: (1, 100), &#39;H&#39;: (1, 200)}, ion_types_excluded=[], ionization_type=&#39;ESI&#39;, min_ppm_error=-10.0, max_ppm_error=10.0, min_abun_error=-100.0, max_abun_error=100.0, mz_error_range=1.5, error_method=&#39;None&#39;, mz_error_average=0.0, used_atom_valences={&#39;C&#39;: 4, &#39;13C&#39;: 4, &#39;N&#39;: 3, &#39;O&#39;: 2, &#39;S&#39;: 2, &#39;H&#39;: 1, &#39;F&#39;: 1, &#39;Cl&#39;: 1, &#39;Br&#39;: 1, &#39;I&#39;: 1, &#39;At&#39;: 1, &#39;Li&#39;: 1, &#39;Na&#39;: 1, &#39;K&#39;: 1, &#39;Rb&#39;: 1, &#39;Cs&#39;: 1, &#39;Fr&#39;: 1, &#39;B&#39;: 4, &#39;In&#39;: 3, &#39;Al&#39;: 3, &#39;P&#39;: 3, &#39;Ga&#39;: 3, &#39;Mg&#39;: 2, &#39;Be&#39;: 2, &#39;Ca&#39;: 2, &#39;Sr&#39;: 2, &#39;Ba&#39;: 2, &#39;Ra&#39;: 2, &#39;V&#39;: 5, &#39;Fe&#39;: 3, &#39;Si&#39;: 4, &#39;Sc&#39;: 3, &#39;Ti&#39;: 4, &#39;Cr&#39;: 1, &#39;Mn&#39;: 1, &#39;Co&#39;: 1, &#39;Ni&#39;: 1, &#39;Cu&#39;: 2, &#39;Zn&#39;: 2, &#39;Ge&#39;: 4, &#39;As&#39;: 5, &#39;Se&#39;: 6, &#39;Y&#39;: 3, &#39;Zr&#39;: 4, &#39;Nb&#39;: 5, &#39;Mo&#39;: 6, &#39;Tc&#39;: 7, &#39;Ru&#39;: 8, &#39;Rh&#39;: 6, &#39;Pd&#39;: 4, &#39;Ag&#39;: 0, &#39;Cd&#39;: 2, &#39;Sn&#39;: 4, &#39;Sb&#39;: 5, &#39;Te&#39;: 6, &#39;La&#39;: 3, &#39;Hf&#39;: 4, &#39;Ta&#39;: 5, &#39;W&#39;: 6, &#39;Re&#39;: 4, &#39;Os&#39;: 4, &#39;Ir&#39;: 4, &#39;Pt&#39;: 4, &#39;Au&#39;: 3, &#39;Hg&#39;: 1, &#39;Tl&#39;: 3, &#39;Pb&#39;: 4, &#39;Bi&#39;: 3, &#39;Po&#39;: 2, &#39;Ac&#39;: 3})</span>
751751

752752

753753
</div>

0 commit comments

Comments
 (0)