Skip to content

Commit 80a0326

Browse files
committed
fix str cast error
1 parent ad40a15 commit 80a0326

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qiita_db/metadata_template/base_metadata_template.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ def _clean_validate_template(cls, md_template, study_id,
602602
set(duplicates(md_template.columns)))
603603

604604
# validate the INSDC_NULL_VALUES
605-
_df = md_template.fillna("").applymap(str.lower)
605+
_df = md_template.fillna("").applymap(str).applymap(str.lower)
606606
_ddf = _df[_df.isin(INSDC_NULL_VALUES.keys()).any(axis=1)]
607607
if _ddf.shape[0] != 0:
608608
for c in _ddf.columns:

0 commit comments

Comments
 (0)