msIO 1.0.3__tar.gz → 1.0.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {msio-1.0.3 → msio-1.0.4}/PKG-INFO +2 -2
- {msio-1.0.3 → msio-1.0.4}/README.md +1 -1
- {msio-1.0.3 → msio-1.0.4}/msIO/_version.py +1 -1
- {msio-1.0.3 → msio-1.0.4}/msIO/environmental/sample.py +5 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/feature_managers/db.py +5 -2
- {msio-1.0.3 → msio-1.0.4}/msIO/feature_managers/util_library.py +0 -1
- {msio-1.0.3 → msio-1.0.4}/msIO.egg-info/PKG-INFO +2 -2
- {msio-1.0.3 → msio-1.0.4}/LICENSE +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/__init__.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/_templates/__init__.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/_templates/_many_to_many.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/_templates/_many_to_many_bidirectional.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/_templates/_many_to_one.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/_templates/_many_to_one_bidirectional.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/_templates/_one_to_many.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/_templates/_one_to_many_bidirectional.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/_templates/_one_to_one.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/_templates/relationship_patterns.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/annotations/__init__.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/annotations/main.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/core.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/environmental/__init__.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/environmental/location.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/export_manager/__init__.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/export_manager/main.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/feature_managers/__init__.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/feature_managers/_read_mzio_graphml_as_xml.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/feature_managers/base.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/feature_managers/combined.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/feature_managers/gnps.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/feature_managers/metaboscape.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/feature_managers/sirius.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/features/__init__.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/features/base.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/features/combined.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/features/gnps.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/features/metaboscape.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/features/mgf.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/features/sirius.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/features/util.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/general.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/gui/__init__.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/gui/_gui_log.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/gui/about +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/gui/annotation/__init__.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/gui/annotation/annotations.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/gui/annotation/app.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/gui/annotation/common.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/gui/annotation/database_panel.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/gui/annotation/dialogs.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/gui/annotation/export.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/gui/annotation/filter_panel.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/gui/annotation/matching.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/gui/annotation/matching_panel.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/gui/annotation/overview_panel.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/gui/annotation/results_panel.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/gui/annotation/scatter_panel.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/gui/annotation/series.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/gui/annotation/shortcuts.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/gui/csv_to_sqlite_gui.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/gui/feature_overview.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/gui/find_lib_matches.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/gui/library_search_by_name.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/gui/main.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/gui/msp_to_sqlite_gui.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/list_of_ions/__init__.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/list_of_ions/base.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/list_of_ions/read_library.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/list_of_ions/read_mca.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/list_of_ions/read_mgf.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/list_of_ions/read_msp.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/metrics.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/sql/__init__.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/sql/create_library.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/sql/session.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO/sql/visualize.py +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO.egg-info/SOURCES.txt +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO.egg-info/dependency_links.txt +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO.egg-info/requires.txt +0 -0
- {msio-1.0.3 → msio-1.0.4}/msIO.egg-info/top_level.txt +0 -0
- {msio-1.0.3 → msio-1.0.4}/pyproject.toml +0 -0
- {msio-1.0.3 → msio-1.0.4}/setup.cfg +0 -0
- {msio-1.0.3 → msio-1.0.4}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: msIO
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.4
|
|
4
4
|
Summary: Reading and writing functions for different mass spectrometry related file types
|
|
5
5
|
Home-page: https://github.com/yaza11/msIO
|
|
6
6
|
Author: Yannick Zander
|
|
@@ -51,7 +51,7 @@ msIO reads mass spectrometry data from several tools, combines it into one SQLit
|
|
|
51
51
|
Python 3.10 or newer is needed. msIO needs [LipidCalculator](https://github.com/yaza11/LipidCalculator), which is not on PyPI yet and has to be installed first:
|
|
52
52
|
|
|
53
53
|
```bash
|
|
54
|
-
pip install git+https://github.com/yaza11/LipidCalculator.git
|
|
54
|
+
pip install git+https://github.com/yaza11/LipidCalculator.git@v0.3.7
|
|
55
55
|
pip install msIO
|
|
56
56
|
```
|
|
57
57
|
|
|
@@ -19,7 +19,7 @@ msIO reads mass spectrometry data from several tools, combines it into one SQLit
|
|
|
19
19
|
Python 3.10 or newer is needed. msIO needs [LipidCalculator](https://github.com/yaza11/LipidCalculator), which is not on PyPI yet and has to be installed first:
|
|
20
20
|
|
|
21
21
|
```bash
|
|
22
|
-
pip install git+https://github.com/yaza11/LipidCalculator.git
|
|
22
|
+
pip install git+https://github.com/yaza11/LipidCalculator.git@v0.3.7
|
|
23
23
|
pip install msIO
|
|
24
24
|
```
|
|
25
25
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
# single place of the version: read by setup.py and shown in the GUI title
|
|
2
|
-
__version__ = '1.0.
|
|
2
|
+
__version__ = '1.0.4'
|
|
@@ -46,3 +46,8 @@ class Sample(SqlBaseClass):
|
|
|
46
46
|
cascade="all, delete-orphan",
|
|
47
47
|
passive_deletes=True)
|
|
48
48
|
|
|
49
|
+
|
|
50
|
+
# Sample.location refers to "Location" by name: SQLAlchemy can only resolve it if location.py was imported. Imported
|
|
51
|
+
# here (after Sample, location.py imports Sample) so that using Sample is enough, an unused-looking import elsewhere
|
|
52
|
+
# must not be the only thing keeping the mapper configurable.
|
|
53
|
+
from msIO.environmental.location import Location # noqa: E402,F401
|
|
@@ -13,7 +13,6 @@ import logging
|
|
|
13
13
|
from LipidCalculator import Adduct, CompoundDict
|
|
14
14
|
from LipidCalculator.isotopes.isotope_pattern import IsotopePattern
|
|
15
15
|
from LipidCalculator.rdkit.plotting import mplt_mol
|
|
16
|
-
from matchms.similarity import ModifiedCosineGreedy
|
|
17
16
|
from matplotlib import pyplot as plt
|
|
18
17
|
from matplotlib.gridspec import GridSpec
|
|
19
18
|
from rdkit import Chem
|
|
@@ -21,7 +20,6 @@ from tqdm import tqdm
|
|
|
21
20
|
|
|
22
21
|
from msIO import PeakList
|
|
23
22
|
from msIO.environmental.sample import Sample
|
|
24
|
-
from msIO.feature_managers.util_library import peaklist_to_spectrum
|
|
25
23
|
from msIO.list_of_ions.base import PeakFeature
|
|
26
24
|
from msIO.metrics import cosine_similarity_sym, cosine_similarity_forward, cosine_similarity_backward
|
|
27
25
|
from msIO.sql.session import get_sessionmaker
|
|
@@ -1021,6 +1019,11 @@ class Library(FeatureManagerDB):
|
|
|
1021
1019
|
elif metric == 'cosine_backward':
|
|
1022
1020
|
metric = cosine_similarity_backward
|
|
1023
1021
|
elif metric == 'modified_cosine_greedy':
|
|
1022
|
+
# imported here: importing matchms takes ~5 s (it loads all its similarity modules), which would
|
|
1023
|
+
# otherwise delay the start of every GUI
|
|
1024
|
+
from matchms.similarity import ModifiedCosineGreedy
|
|
1025
|
+
from msIO.feature_managers.util_library import peaklist_to_spectrum
|
|
1026
|
+
|
|
1024
1027
|
# need to convert to matchms SpectrumType, each spectrum only once (a measured spectrum is
|
|
1025
1028
|
# compared to all its library matches, a library spectrum to all measured features it matches)
|
|
1026
1029
|
matchms_spectra: dict[int, Any] = {}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: msIO
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.4
|
|
4
4
|
Summary: Reading and writing functions for different mass spectrometry related file types
|
|
5
5
|
Home-page: https://github.com/yaza11/msIO
|
|
6
6
|
Author: Yannick Zander
|
|
@@ -51,7 +51,7 @@ msIO reads mass spectrometry data from several tools, combines it into one SQLit
|
|
|
51
51
|
Python 3.10 or newer is needed. msIO needs [LipidCalculator](https://github.com/yaza11/LipidCalculator), which is not on PyPI yet and has to be installed first:
|
|
52
52
|
|
|
53
53
|
```bash
|
|
54
|
-
pip install git+https://github.com/yaza11/LipidCalculator.git
|
|
54
|
+
pip install git+https://github.com/yaza11/LipidCalculator.git@v0.3.7
|
|
55
55
|
pip install msIO
|
|
56
56
|
```
|
|
57
57
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|