Commit 5418dd3e authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

TEST: Test icd10 export with NaNs

parent 86b6337b
......@@ -114,9 +114,12 @@ def test_store_saveCodes():
with open('codings.tsv', 'wt') as f:
f.write(codings)
codes = ['a10', 'b20', 'c30', 'd40', 'e50']
codes = ['a10', np.nan, 'b20', 'c30', 'd40', 'e50']
icd10.storeCodes(codes)
icd10.storeCodes(codes[:2])
icd10.storeCodes(codes[2:])
del codes[1]
h = icd10.readICD10CodingFile('codings.tsv')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment