Closed rbturnbull closed 2 years ago
Which command are you using with convert_tei.py
? Is it
python py\convert_tei.py -t reconstructed -t defective -t orthographic -t subreading -m lac -m overlap -t "*" -t "T" -t "/1" -t "/2" -t "/3" --fill-correctors --verbose example\ubs_ephesians.xml ubs_ephesians.nxs
from the readme, or something else? I can try to reproduce the error.
I got the same error with the minimal test python py\convert_tei.py --verbose example\ubs_ephesians.xml ubs_ephesians.nxs
. It looks like the issue was how the code handles witDetail
witnesses without @target
attributes (e.g., overlap
and lac
instances). I've fixed the issue and pushed the code that makes this minimal test work. (Sorry I keep pushing changes on main
; I know it's bad practice, but it's easy to do before the code has gone public!)
great work Joey :)
Hi @jjmccollum - i'm trying to get the example to run. I want to put it in a unit test ultimately. I fixed up a couple of issues but it's dying here: