npc-sync 0.2.4__tar.gz → 0.2.5__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.4/src/npc_sync.egg-info → npc_sync-0.2.5}/PKG-INFO +1 -1
- {npc_sync-0.2.4 → npc_sync-0.2.5}/pyproject.toml +1 -1
- {npc_sync-0.2.4 → npc_sync-0.2.5}/src/npc_sync/sync.py +8 -0
- {npc_sync-0.2.4 → npc_sync-0.2.5/src/npc_sync.egg-info}/PKG-INFO +1 -1
- {npc_sync-0.2.4 → npc_sync-0.2.5}/LICENSE +0 -0
- {npc_sync-0.2.4 → npc_sync-0.2.5}/README.md +0 -0
- {npc_sync-0.2.4 → npc_sync-0.2.5}/setup.cfg +0 -0
- {npc_sync-0.2.4 → npc_sync-0.2.5}/src/npc_sync/__init__.py +0 -0
- {npc_sync-0.2.4 → npc_sync-0.2.5}/src/npc_sync/py.typed +0 -0
- {npc_sync-0.2.4 → npc_sync-0.2.5}/src/npc_sync.egg-info/SOURCES.txt +0 -0
- {npc_sync-0.2.4 → npc_sync-0.2.5}/src/npc_sync.egg-info/dependency_links.txt +0 -0
- {npc_sync-0.2.4 → npc_sync-0.2.5}/src/npc_sync.egg-info/entry_points.txt +0 -0
- {npc_sync-0.2.4 → npc_sync-0.2.5}/src/npc_sync.egg-info/requires.txt +0 -0
- {npc_sync-0.2.4 → npc_sync-0.2.5}/src/npc_sync.egg-info/top_level.txt +0 -0
- {npc_sync-0.2.4 → npc_sync-0.2.5}/tests/test_core.py +0 -0
- {npc_sync-0.2.4 → npc_sync-0.2.5}/tests/test_known_files.py +0 -0
- {npc_sync-0.2.4 → npc_sync-0.2.5}/tests/test_plots.py +0 -0
|
@@ -1312,6 +1312,14 @@ class SyncDataset:
|
|
|
1312
1312
|
|
|
1313
1313
|
rising, falling = split_flips(flips, is_first_frame_on)
|
|
1314
1314
|
|
|
1315
|
+
if self.block_index_to_stim_path[block_idx] is None and os.getenv(
|
|
1316
|
+
"SYNC_ALLOW_MISSING_STIM_FILES"
|
|
1317
|
+
):
|
|
1318
|
+
logger.debug(
|
|
1319
|
+
f"Block {block_idx} has no stim file available to verify number of vsyncs. Skipping."
|
|
1320
|
+
)
|
|
1321
|
+
frame_display_time_blocks.append(fallback_or_none)
|
|
1322
|
+
continue
|
|
1315
1323
|
assert self.block_index_to_stim_path[block_idx] is not None
|
|
1316
1324
|
|
|
1317
1325
|
# script_frame_intervals = h5py.File(self.block_index_to_stim_path[block_idx])['frameIntervals'][:]
|
|
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
|