-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix endian bug and replace fileExtension with environmental variable …
…omeconverter (#565) * Bump version: 0.3.2 → 0.3.3-dev1 * fix endian and remove fileExtension input argument * updated bfio dependency and tests * Bump version: 0.3.3-dev1 → 0.3.3-dev2 * Bump version: 0.3.3-dev2 → 0.3.3-dev3 * fix writing tiled large images * updated doc
- Loading branch information
1 parent
bd649c6
commit 29d3dcb
Showing
14 changed files
with
170 additions
and
180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
0.3.2 | ||
0.3.3-dev3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,55 +1,41 @@ | ||
author: | ||
- Nick Schaub | ||
- Hamdah Shafqat | ||
- Nick Schaub | ||
- Hamdah Shafqat | ||
contact: [email protected] | ||
container: polusai/ome-converter-tool:0.3.2-dev0 | ||
container: polusai/ome-converter-tool:0.3.3-dev3 | ||
description: Convert Bioformats supported format to OME Zarr or OME TIF | ||
entrypoint: python3 -m polus.images.formats.ome_converter | ||
inputs: | ||
- description: Input generic data collection to be processed by this plugin | ||
format: | ||
- genericData | ||
name: inpDir | ||
required: true | ||
type: path | ||
- description: A filepattern, used to select data to be converted | ||
format: | ||
- string | ||
name: filePattern | ||
required: true | ||
type: string | ||
- description: Type of data conversion | ||
format: | ||
- enum | ||
name: fileExtension | ||
required: true | ||
type: string | ||
- description: Input generic data collection to be processed by this plugin | ||
format: | ||
- genericData | ||
name: inpDir | ||
required: true | ||
type: path | ||
- description: A filepattern, used to select data to be converted | ||
format: | ||
- string | ||
name: filePattern | ||
required: true | ||
type: string | ||
name: polusai/OMEConverter | ||
outputs: | ||
- description: Output collection | ||
format: | ||
- genericData | ||
name: outDir | ||
required: true | ||
type: path | ||
repository: https://github.com/PolusAI/polus-plugins | ||
- description: Output collection | ||
format: | ||
- genericData | ||
name: outDir | ||
required: true | ||
type: path | ||
repository: https://github.com/PolusAI/image-tools | ||
specVersion: 1.0.0 | ||
title: OME Converter | ||
ui: | ||
- description: Input generic data collection to be processed by this plugin | ||
key: inputs.inpDir | ||
title: Input generic collection | ||
type: path | ||
- description: A filepattern, used to select data for conversion | ||
key: inputs.filePattern | ||
title: Filepattern | ||
type: text | ||
- description: Type of data conversion | ||
fields: | ||
- .ome.tif | ||
- .ome.zarr | ||
- default | ||
key: inputs.fileExtension | ||
title: fileExtension | ||
type: select | ||
version: 0.3.2-dev0 | ||
- description: Input generic data collection to be processed by this plugin | ||
key: inputs.inpDir | ||
title: Input generic collection | ||
type: path | ||
- description: A filepattern, used to select data for conversion | ||
key: inputs.filePattern | ||
title: Filepattern | ||
type: text | ||
version: 0.3.3-dev3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
{ | ||
"name": "OME Converter", | ||
"version": "0.3.2", | ||
"version": "0.3.3-dev3", | ||
"title": "OME Converter", | ||
"description": "Convert Bioformats supported format to OME Zarr or OME TIF", | ||
"author": "Nick Schaub ([email protected]), Hamdah Shafqat Abbasi ([email protected])", | ||
"institution": "National Center for Advancing Translational Sciences, National Institutes of Health", | ||
"repository": "https://github.com/PolusAI/polus-plugins", | ||
"repository": "https://github.com/PolusAI/image-tools", | ||
"website": "https://ncats.nih.gov/preclinical/core/informatics", | ||
"citation": "", | ||
"containerId": "polusai/ome-converter-tool:0.3.2", | ||
"containerId": "polusai/ome-converter-tool:0.3.3-dev3", | ||
"baseCommand": [ | ||
"python3", | ||
"-m", | ||
|
@@ -26,20 +26,6 @@ | |
"type": "string", | ||
"description": "A filepattern, used to select data to be converted", | ||
"required": true | ||
}, | ||
{ | ||
"name": "fileExtension", | ||
"type": "enum", | ||
"description": "Type of data conversion", | ||
"default": "default", | ||
"options": { | ||
"values": [ | ||
".ome.tif", | ||
".ome.zarr", | ||
"default" | ||
] | ||
}, | ||
"required": true | ||
} | ||
], | ||
"outputs": [ | ||
|
@@ -59,12 +45,6 @@ | |
"key": "inputs.filePattern", | ||
"title": "Filepattern", | ||
"description": "A filepattern, used to select data for conversion" | ||
}, | ||
{ | ||
"key": "inputs.fileExtension", | ||
"title": "fileExtension", | ||
"description": "Type of data conversion", | ||
"default": ".ome.tif" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "polus-images-formats-ome-converter" | ||
version = "0.3.2" | ||
version = "0.3.3-dev3" | ||
description = "Convert BioFormats datatypes to ome.tif or ome.zarr file format" | ||
authors = [ | ||
"Nick Schaub <[email protected]>", | ||
|
@@ -12,7 +12,7 @@ packages = [{include = "polus", from = "src"}] | |
|
||
[tool.poetry.dependencies] | ||
python = ">=3.9,<3.12" | ||
bfio = {version = "^2.3.3", extras = ["all"]} | ||
bfio = {version = "^2.4.4", extras = ["all"]} | ||
filepattern = "^2.0.4" | ||
typer = "^0.7.0" | ||
tqdm = "^4.64.1" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
formats/ome-converter-tool/src/polus/images/formats/ome_converter/__init__.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
"""Ome Converter.""" | ||
|
||
__version__ = "0.3.2" | ||
__version__ = "0.3.3-dev3" | ||
|
||
from .image_converter import batch_convert | ||
from .image_converter import convert_image |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.