Skip to content

Commit 2fd97dd

Browse files
yibeichansatra
andauthored
Update reproschema/redcap2reproschema.py
Co-authored-by: Satrajit Ghosh <[email protected]>
1 parent d282b68 commit 2fd97dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

reproschema/redcap2reproschema.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ def process_row(
421421

422422
elif key in ADDITIONAL_NOTES_LIST and value:
423423
# Convert value to string, handling NaN explicitly
424-
value_str = "NaN" if pd.isna(value) else str(value).strip()
424+
value_str = str(value).strip()
425425
if not value_str: # Skip empty strings
426426
continue
427427
notes_obj = {

0 commit comments

Comments
 (0)