Skip to content

Commit

Permalink
Disable BitType imglib2 conversion
Browse files Browse the repository at this point in the history
There currently is no `bool` convert method registered in imglyb.util.

See:
* imglib/imglyb#13
* https://github.com/imglib/imglyb/blob/master/imglyb/util.py#L39-L69
  • Loading branch information
hinerm committed Sep 23, 2021
1 parent 6134309 commit ab134c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imagej/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ def dtype(self, image_or_type):
# -- ImgLib2 types --
if sj.jclass('net.imglib2.type.Type').isInstance(image_or_type):
ij2_types = {
'net.imglib2.type.logic.BitType': 'bool',
#'net.imglib2.type.logic.BitType': 'bool',
'net.imglib2.type.numeric.integer.ByteType': 'int8',
'net.imglib2.type.numeric.integer.ByteLongAccessType': 'int8',
'net.imglib2.type.numeric.integer.ShortType': 'int16',
Expand Down

0 comments on commit ab134c7

Please sign in to comment.