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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: samplekit
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Lightweight Python framework for documenting scientific samples with bidirectional Markdown I/O
5
5
  Author-email: zelyph <github@zelyph.fr>
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "samplekit"
3
- version = "0.1.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"
@@ -7,7 +7,7 @@ from .sample_list import SampleList
7
7
  from . import report
8
8
  from . import converters
9
9
 
10
- __version__ = "0.1.1"
10
+ __version__ = "0.1.2"
11
11
 
12
12
  __all__ = [
13
13
  "Property",
@@ -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."""
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: samplekit
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Lightweight Python framework for documenting scientific samples with bidirectional Markdown I/O
5
5
  Author-email: zelyph <github@zelyph.fr>
6
6
  License: MIT
File without changes
File without changes
File without changes
File without changes
File without changes