npc-sync 0.2.2__tar.gz → 0.2.3__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.
- {npc_sync-0.2.2/src/npc_sync.egg-info → npc_sync-0.2.3}/PKG-INFO +1 -1
- {npc_sync-0.2.2 → npc_sync-0.2.3}/pyproject.toml +1 -1
- {npc_sync-0.2.2 → npc_sync-0.2.3}/src/npc_sync/sync.py +5 -1
- {npc_sync-0.2.2 → npc_sync-0.2.3/src/npc_sync.egg-info}/PKG-INFO +1 -1
- {npc_sync-0.2.2 → npc_sync-0.2.3}/LICENSE +0 -0
- {npc_sync-0.2.2 → npc_sync-0.2.3}/README.md +0 -0
- {npc_sync-0.2.2 → npc_sync-0.2.3}/setup.cfg +0 -0
- {npc_sync-0.2.2 → npc_sync-0.2.3}/src/npc_sync/__init__.py +0 -0
- {npc_sync-0.2.2 → npc_sync-0.2.3}/src/npc_sync/py.typed +0 -0
- {npc_sync-0.2.2 → npc_sync-0.2.3}/src/npc_sync.egg-info/SOURCES.txt +0 -0
- {npc_sync-0.2.2 → npc_sync-0.2.3}/src/npc_sync.egg-info/dependency_links.txt +0 -0
- {npc_sync-0.2.2 → npc_sync-0.2.3}/src/npc_sync.egg-info/entry_points.txt +0 -0
- {npc_sync-0.2.2 → npc_sync-0.2.3}/src/npc_sync.egg-info/requires.txt +0 -0
- {npc_sync-0.2.2 → npc_sync-0.2.3}/src/npc_sync.egg-info/top_level.txt +0 -0
- {npc_sync-0.2.2 → npc_sync-0.2.3}/tests/test_core.py +0 -0
- {npc_sync-0.2.2 → npc_sync-0.2.3}/tests/test_known_files.py +0 -0
- {npc_sync-0.2.2 → npc_sync-0.2.3}/tests/test_plots.py +0 -0
|
@@ -223,6 +223,7 @@ class SyncDataset:
|
|
|
223
223
|
) -> None:
|
|
224
224
|
if isinstance(path, self.__class__):
|
|
225
225
|
self = path
|
|
226
|
+
self.dfile = path
|
|
226
227
|
else:
|
|
227
228
|
self.path = npc_io.from_pathlike(path)
|
|
228
229
|
self.dfile = self.load(path)
|
|
@@ -359,7 +360,10 @@ class SyncDataset:
|
|
|
359
360
|
|
|
360
361
|
@property
|
|
361
362
|
def meta_data(self) -> dict[str, Any]:
|
|
362
|
-
|
|
363
|
+
try:
|
|
364
|
+
return eval(self.dfile["meta"][()])
|
|
365
|
+
except AttributeError:
|
|
366
|
+
return eval(self["meta"][()])
|
|
363
367
|
|
|
364
368
|
@property
|
|
365
369
|
def line_labels(self) -> Sequence[str]:
|
|
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
|