Skip to content

Commit 99fee49

Browse files
njmmatthieujdreo
authored andcommitted
dealing with None type in boolean transformer
1 parent e1967b7 commit 99fee49

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/ontoweaver/transformer.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1108,6 +1108,8 @@ def __init__(self, raise_errors: bool = True, output_true = "true", output_false
11081108
def __call__(self, columns, row, i):
11091109
for key in columns:
11101110
value = row[key]
1111+
if value is None:
1112+
continue
11111113
if np.isnan(value):
11121114
continue
11131115
value = str(value)

0 commit comments

Comments
 (0)