Willa-Cather-Archive / annotonia-converter

Alters Cather TEI letters with annotations from the annotonia
2 stars 0 forks source link

Skip XML output if tagged "Needs Correction" #11

Closed techgique closed 7 years ago

techgique commented 7 years ago

Adjust expected values for test_create_annotation_xml

Flip "tei_text" and "expected_text" parameters to asset_equal, so they match the "expected" and "actual" labels when not equal

Add test to ensure "Needs Correction" annotation is skipped

Close #8

techgique commented 7 years ago

Doing that would prevent the "Needs Correction" tags being converted to <wrong why="...">...</wrong> in the output TEI letters in addition to removing them from the annotation XML, but I think Andy still wants that.