Proskomma / proskomma-json-tools

Tools for working with Proskomma-derived JSON formats such as PERF and SOFRIA
MIT License
1 stars 2 forks source link

ignoreMissingSequences flag for PerfRenderFromJson #5

Closed mvahowe closed 1 year ago

mvahowe commented 1 year ago

This PR adds a flag to PerfRenderFromJson to gracefully ignore missing grafted sequences. If the flag is not set, the renderer throws an exception that is more meaningful than before.

This is needed to process single sequences returned via Epitelete. (One day we may want a dedicated render process for that.)

Basic tests for the two cases pass.

I bumped the package version ready for publication.

DanielC-N commented 1 year ago