8000 Set _convert_table priority to HIGH · scijava/scyjava@74e66bf · GitHub
[go: up one dir, main page]

Skip to content

Commit 74e66bf

Browse files
committed
Set _convert_table priority to HIGH
Fixes a bug where org.scijava.table.Table is converted to a lisit instead of a pandas DataFrame.
1 parent d57251e commit 74e66bf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/scyjava/_convert.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -666,8 +666,7 @@ def _stock_py_converters() -> List:
666666
# org.scijava.table.Table -> pandas.DataFrame
667667
converters.append(
668668
Converter(
669-
predicate=_is_table,
670-
converter=_convert_table,
669+
predicate=_is_table, converter=_convert_table, priority=Priority.HIGH
671670
)
672671
)
673672

0 commit comments

Comments
 (0)
0