u2o icon indicating copy to clipboard operation
u2o copied to clipboard

Handle usfm blank lines before the Book ID USFM Marker + misc cleanup

Open tonkapark opened this issue 3 years ago • 1 comments

A usfm file that has a blank line or extra spaces before the \id marker will cause the u2o.py script to fail generating the proper XML and revert to a TEST print out and an unused id marker.

Changes:

  • Add script usage to README
  • Created output directory for generated osis files and gitgnore files
  • Created a test and included a sample usfm file that caused the failure

tonkapark avatar Dec 29 '22 22:12 tonkapark

I just added a commit that fixes this issue in a different way. I have to think about some of the other changes. I don't want to mess up anyone's workflow with changing the default output directory. Thanks!

adyeths avatar Dec 31 '22 20:12 adyeths