Skip to content

Commit

Permalink
OME-Zarr: Allow exporting without dataset name
Browse files Browse the repository at this point in the history
  • Loading branch information
btbest committed Sep 27, 2024
1 parent 9181f7f commit f2dea57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion volumina/widgets/hierarchicalFileExportOptionsWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ def _applyDataset(self):
was_valid = self.settings_are_valid
datasetName = self.datasetEdit.text()
self._datasetNameSlot.setValue(str(datasetName))
self.settings_are_valid = str(datasetName) != ""
self.settings_are_valid = str(datasetName) != "" or self.default_extension == "zarr"

Check warning on line 77 in volumina/widgets/hierarchicalFileExportOptionsWidget.py

View check run for this annotation

Codecov / codecov/patch

volumina/widgets/hierarchicalFileExportOptionsWidget.py#L77

Added line #L77 was not covered by tests
if self.settings_are_valid != was_valid:
self.pathValidityChange.emit(self.settings_are_valid)

Expand Down

0 comments on commit f2dea57

Please sign in to comment.