Skip to content
This repository has been archived by the owner on Sep 24, 2019. It is now read-only.

Version 0.6.0

Tony Bargnesi edited this page Mar 16, 2016 · 3 revisions

Fixed

Serialization of BEL Script / XBEL can produce incorrect annotation and namespaces references.

BEL Script and XBEL capture references (e.g. annotations, namespaces) in a document header. Streaming translation into these formats were only capturing references for the first evidence. This behavior has been changed to determine the combined set of references needed to produce a consistent document. In this case the file has to be fully read before write out.

If you know that each evidence's references are consistent you can enable streaming by leveraging translator options to the bel translate subcommand:

bel translate --input-file small_corpus.json --to-option streaming=true json bel

Additional options are provided for writing BEL:

  • write_header=false will not output the document header (defaults to true)
  • serialization=<discrete,topdown,citation> will choose a serialization strategy for writing BEL Script.

See Version 5.0 for details on serialization strategies.