Skip to content

Commit

Permalink
update for new version of NDTiff
Browse files Browse the repository at this point in the history
  • Loading branch information
henrypinkard committed Jun 7, 2024
1 parent e79a626 commit 8dac76f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pycromanager/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
version_info = (0, 32, 0)
version_info = (0, 32, 1)
__version__ = ".".join(map(str, version_info))
6 changes: 3 additions & 3 deletions pycromanager/acquisition/java_backend_acquisitions.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,12 +201,12 @@ def _notification_handler_fn(acquisition, notification_push_port, connected_even
# check if NDTiff data storage used
if acquisition._directory is not None:
index_entry = notification.payload.encode('ISO-8859-1')
axes = acquisition._dataset._add_index_entry(index_entry)
axes = acquisition._dataset.add_index_entry(index_entry)
# swap the notification.payload from the byte array of index information to axes
notification.payload = axes
else: # RAM storage
axes = json.loads(notification.payload)
acquisition._dataset._add_index_entry(axes)
acquisition._dataset.add_index_entry(axes)
notification.payload = axes
acquisition._image_notification_queue.put(notification)

Expand Down Expand Up @@ -315,7 +315,7 @@ def __init__(
summary_metadata = storage_java_class.get_summary_metadata()
if directory is not None:
# NDTiff dataset saved to disk on Java side
self._dataset = Dataset(dataset_path=self._dataset_disk_location, _summary_metadata=summary_metadata)
self._dataset = Dataset(dataset_path=self._dataset_disk_location, summary_metadata=summary_metadata)
else:
# Saved to RAM on Java side
self._dataset = JavaRAMDataStorage(storage_java_class)
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
numpy
dask[array]>=2022.2.0
pyzmq
ndtiff>=2.2.0
ndtiff>=2.3.0
docstring-inheritance
pymmcore
sortedcontainers
Expand Down

0 comments on commit 8dac76f

Please sign in to comment.