samplekit 0.1.1__tar.gz → 0.1.2__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.
- {samplekit-0.1.1/samplekit.egg-info → samplekit-0.1.2}/PKG-INFO +1 -1
- {samplekit-0.1.1 → samplekit-0.1.2}/pyproject.toml +1 -1
- {samplekit-0.1.1 → samplekit-0.1.2}/samplekit/__init__.py +1 -1
- {samplekit-0.1.1 → samplekit-0.1.2}/samplekit/sample.py +2 -0
- {samplekit-0.1.1 → samplekit-0.1.2/samplekit.egg-info}/PKG-INFO +1 -1
- {samplekit-0.1.1 → samplekit-0.1.2}/LICENSE +0 -0
- {samplekit-0.1.1 → samplekit-0.1.2}/README.md +0 -0
- {samplekit-0.1.1 → samplekit-0.1.2}/samplekit/converters.py +0 -0
- {samplekit-0.1.1 → samplekit-0.1.2}/samplekit/property.py +0 -0
- {samplekit-0.1.1 → samplekit-0.1.2}/samplekit/report.py +0 -0
- {samplekit-0.1.1 → samplekit-0.1.2}/samplekit/sample_list.py +0 -0
- {samplekit-0.1.1 → samplekit-0.1.2}/samplekit/table.py +0 -0
- {samplekit-0.1.1 → samplekit-0.1.2}/samplekit.egg-info/SOURCES.txt +0 -0
- {samplekit-0.1.1 → samplekit-0.1.2}/samplekit.egg-info/dependency_links.txt +0 -0
- {samplekit-0.1.1 → samplekit-0.1.2}/samplekit.egg-info/requires.txt +0 -0
- {samplekit-0.1.1 → samplekit-0.1.2}/samplekit.egg-info/top_level.txt +0 -0
- {samplekit-0.1.1 → samplekit-0.1.2}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "samplekit"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.2"
|
|
4
4
|
description = "Lightweight Python framework for documenting scientific samples with bidirectional Markdown I/O"
|
|
5
5
|
authors = [{ name = "zelyph", email = "github@zelyph.fr" }]
|
|
6
6
|
readme = "README.md"
|
|
@@ -97,6 +97,8 @@ class Sample:
|
|
|
97
97
|
n = name if name is not None else (fp.stem if fp else "Unnamed")
|
|
98
98
|
object.__setattr__(self, 'name', n)
|
|
99
99
|
object.__setattr__(self, '_hydrating', False)
|
|
100
|
+
if type(self) is Sample:
|
|
101
|
+
self._auto_hydrate()
|
|
100
102
|
|
|
101
103
|
def _auto_hydrate(self):
|
|
102
104
|
"""Load data from filepath if the file exists."""
|
|
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
|