Skip to content

Commit 31fe934

Browse files
authored
Add .ims to list of supported formats by bioformats. (#1085)
* Add .ims to list of supported formats by bioformats. * Update changelog.
1 parent 0ad8804 commit 31fe934

File tree

2 files changed

+15
-13
lines changed

2 files changed

+15
-13
lines changed

webknossos/Changelog.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ For upgrade instructions, please check the respective _Breaking Changes_ section
1515
### Breaking Changes
1616

1717
### Added
18-
- Added a pixel level heuristic for distinguishing color and segmentation layers when importing image data with the `from_images` or `add_layer_from_images` method. [1007](https://github.com/scalableminds/webknossos-libs/pull/1007)
18+
- Added a pixel level heuristic for distinguishing color and segmentation layers when importing image data with the `from_images` or `add_layer_from_images` method. [#1007](https://github.com/scalableminds/webknossos-libs/pull/1007)
19+
- Added .ims as supported suffix. [#1085](https://github.com/scalableminds/webknossos-libs/pull/1085)
1920

2021
### Changed
21-
- Moved functional parts of merge volume annotation CLI to Dataset and Annotation classes. [1055](https://github.com/scalableminds/webknossos-libs/pull/1055)
22+
- Moved functional parts of merge volume annotation CLI to Dataset and Annotation classes. [#1055](https://github.com/scalableminds/webknossos-libs/pull/1055)
2223

2324
### Fixed
2425
- Fixed an issue with downloading annotations through the Command Line Interface. [#1083](https://github.com/scalableminds/webknossos-libs/pull/1083)
@@ -28,23 +29,23 @@ For upgrade instructions, please check the respective _Breaking Changes_ section
2829
[Commits](https://github.com/scalableminds/webknossos-libs/compare/v0.14.21...v0.14.22)
2930

3031
### Fixed
31-
- Performing `webknossos upload` on a windows machine led to loss of directory structure due to backslashes in the relative paths. This was fixed by [1067](https://github.com/scalableminds/webknossos-libs/pull/1067)
32+
- Performing `webknossos upload` on a windows machine led to loss of directory structure due to backslashes in the relative paths. This was fixed by [#1067](https://github.com/scalableminds/webknossos-libs/pull/1067)
3233

3334

3435

3536
## [0.14.21](https://github.com/scalableminds/webknossos-libs/releases/tag/v0.14.21) - 2024-05-07
3637
[Commits](https://github.com/scalableminds/webknossos-libs/compare/v0.14.20...v0.14.21)
3738

3839
### Changed
39-
- Added `layer_name` as optional argument to `Dataset.from_images` method. If the created dataset contains only a single layer, `layer_name` is used, otherwise the given `layer_name` is a common prefix for all layers. [1054](https://github.com/scalableminds/webknossos-libs/pull/1054)
40-
- The context variable of View.get_buffered_slice_writer() is a BufferedSliceWriter now instead of a Generator. Interaction with the SliceWriter does not change, but updating the offset after first initialization is possible now. [1052](https://github.com/scalableminds/webknossos-libs/pull/1052)
40+
- Added `layer_name` as optional argument to `Dataset.from_images` method. If the created dataset contains only a single layer, `layer_name` is used, otherwise the given `layer_name` is a common prefix for all layers. [#1054](https://github.com/scalableminds/webknossos-libs/pull/1054)
41+
- The context variable of View.get_buffered_slice_writer() is a BufferedSliceWriter now instead of a Generator. Interaction with the SliceWriter does not change, but updating the offset after first initialization is possible now. [#1052](https://github.com/scalableminds/webknossos-libs/pull/1052)
4142

4243

4344
## [0.14.20](https://github.com/scalableminds/webknossos-libs/releases/tag/v0.14.20) - 2024-04-23
4445
[Commits](https://github.com/scalableminds/webknossos-libs/compare/v0.14.19...v0.14.20)
4546

4647
### Changed
47-
- Updated ruff to v0.4.0 [1047](https://github.com/scalableminds/webknossos-libs/pull/1047)
48+
- Updated ruff to v0.4.0 [#1047](https://github.com/scalableminds/webknossos-libs/pull/1047)
4849
- Added NIfTI suffix .nii to list of supported bioformats suffixes. [#1048](https://github.com/scalableminds/webknossos-libs/pull/1048)
4950

5051

webknossos/webknossos/dataset/_utils/pims_images.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -699,26 +699,27 @@ def get_valid_pims_suffixes() -> Set[str]:
699699
def get_valid_bioformats_suffixes() -> Set[str]:
700700
# Added the most present suffixes that are implemented in bioformats
701701
return {
702+
"btf",
702703
"dcm",
703704
"dicom",
705+
"gif",
704706
"ics",
705707
"ids",
708+
"ims",
706709
"lei",
707-
"tif",
708710
"lif",
709-
"stk",
710711
"nd",
711712
"nd2",
713+
"nii",
712714
"png",
713-
"tiff",
715+
"pic",
716+
"stk",
714717
"tf2",
715718
"tf8",
716-
"btf",
717-
"pic",
719+
"tif",
720+
"tiff",
718721
"raw",
719722
"xml",
720-
"gif",
721-
"nii",
722723
}
723724

724725

0 commit comments

Comments
 (0)