Skip to content

Commit

Permalink
Prefer compressed formats for export
Browse files Browse the repository at this point in the history
ilastik outputs compress fairly well.
We should encourage those per default.
  • Loading branch information
k-dominik committed Feb 15, 2024
1 parent 8ed88f6 commit 5c4da23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions volumina/widgets/multiformatSlotExportFileOptionsWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def initExportOp(self, opDataExport):
self._format_option_editors = collections.OrderedDict()

# HDF5
for fmt in ("hdf5", "compressed hdf5"):
for fmt in ("compressed hdf5", "hdf5"):

Check warning on line 75 in volumina/widgets/multiformatSlotExportFileOptionsWidget.py

View check run for this annotation

Codecov / codecov/patch

volumina/widgets/multiformatSlotExportFileOptionsWidget.py#L75

Added line #L75 was not covered by tests
hdf5OptionsWidget = Hdf5ExportFileOptionsWidget(self)
hdf5OptionsWidget.initSlots(
opDataExport.OutputFilenameFormat, opDataExport.OutputInternalPath, opDataExport.ExportPath
Expand All @@ -81,7 +81,7 @@ def initExportOp(self, opDataExport):
self._format_option_editors[fmt] = hdf5OptionsWidget

# N5
for fmt in ("n5", "compressed n5"):
for fmt in ("compressed n5", "n5"):

Check warning on line 84 in volumina/widgets/multiformatSlotExportFileOptionsWidget.py

View check run for this annotation

Codecov / codecov/patch

volumina/widgets/multiformatSlotExportFileOptionsWidget.py#L84

Added line #L84 was not covered by tests
n5OptionsWidget = N5ExportFileOptionsWidget(self)
n5OptionsWidget.initSlots(
opDataExport.OutputFilenameFormat, opDataExport.OutputInternalPath, opDataExport.ExportPath
Expand Down

0 comments on commit 5c4da23

Please sign in to comment.