Skip to content

Commit 2f1569c

Browse files
committed
fix negation
1 parent af78abb commit 2f1569c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ogcore/parameter_tables.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ def param_table(p, table_format="tex", path=None):
192192
table["Symbol"].append(v[1])
193193
table["Description"].append(v[0])
194194
value = getattr(p, k)
195-
if hasattr(value, "__len__") & ~isinstance(value, str):
195+
if hasattr(value, "__len__") and not isinstance(value, str):
196196
if value.ndim > 1:
197197
report = (
198198
"Too large to report here, see default parameters JSON"

0 commit comments

Comments
 (0)