masster 0.4.21__py3-none-any.whl → 0.5.0__py3-none-any.whl
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.
Potentially problematic release.
This version of masster might be problematic. Click here for more details.
- masster/_version.py +1 -1
- masster/sample/adducts.py +1 -1
- masster/sample/load.py +10 -9
- masster/sample/plot.py +1 -1
- masster/sample/processing.py +4 -4
- masster/sample/sample.py +29 -32
- masster/sample/save.py +0 -2
- masster/study/analysis.py +1762 -0
- masster/study/export.py +8 -6
- masster/study/helpers.py +153 -80
- masster/study/id.py +3 -3
- masster/study/load.py +56 -55
- masster/study/merge.py +316 -313
- masster/study/parameters.py +3 -3
- masster/study/plot.py +491 -203
- masster/study/processing.py +109 -15
- masster/study/save.py +8 -4
- masster/study/study.py +97 -139
- masster/wizard/wizard.py +8 -8
- {masster-0.4.21.dist-info → masster-0.5.0.dist-info}/METADATA +54 -14
- {masster-0.4.21.dist-info → masster-0.5.0.dist-info}/RECORD +24 -23
- {masster-0.4.21.dist-info → masster-0.5.0.dist-info}/WHEEL +0 -0
- {masster-0.4.21.dist-info → masster-0.5.0.dist-info}/entry_points.txt +0 -0
- {masster-0.4.21.dist-info → masster-0.5.0.dist-info}/licenses/LICENSE +0 -0
masster/study/parameters.py
CHANGED
|
@@ -8,7 +8,7 @@ similar to the sample parameters module but for study-level operations.
|
|
|
8
8
|
from __future__ import annotations
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
def
|
|
11
|
+
def update_history(self, keys, value):
|
|
12
12
|
"""
|
|
13
13
|
Store parameters in a nested dictionary structure.
|
|
14
14
|
|
|
@@ -74,10 +74,10 @@ def update_parameters(self, **kwargs):
|
|
|
74
74
|
# Check if it's a parameter defaults instance
|
|
75
75
|
if hasattr(value, "to_dict") and callable(getattr(value, "to_dict")):
|
|
76
76
|
# Store the parameter object
|
|
77
|
-
self.
|
|
77
|
+
self.update_history([key], value.to_dict())
|
|
78
78
|
else:
|
|
79
79
|
# Store individual parameter
|
|
80
|
-
self.
|
|
80
|
+
self.update_history([key], value)
|
|
81
81
|
|
|
82
82
|
|
|
83
83
|
def get_parameters_property(self):
|