Skip to content

Releases: Capitains/MyCapytain

3.0.2

28 Apr 09:12
342568c
Compare
Choose a tag to compare
  • Fixed a bug related to a dependency update (rdflib) (Issue #207)

3.0.1

29 Jan 08:24
983e4a1
Compare
Choose a tag to compare

Fixed a sibling property issue

3.0.0

15 Oct 16:56
ecaef76
Compare
Choose a tag to compare

2019-07-01 3.0.0 @PonteIneptique

  • Added DTS !
  • New Generic / Prototype CitationSetObject
    • New .match(passageId) function
  • New Generic / Prototype Citation Object
    • New .children Property
    • New .depth property (Not ported to CTS Citation object yet)
    • New meaning of .len() magic method
  • New .root and is_root properties to link back to the citation set (for match implementations)
  • Guidelines / CTS Citation Object
    • Implementation of the .match(passageId) method
  • CitationSet.is_root -> CitationSet.is_root() # Keep in check with other practices
  • BaseCitation.is_empty() now checks if the object has children
  • BaseCitation.is_set() checks if objects have their properties set
  • cts.Citation.isEmpty() old behaviour is now in .is_set() and has been reversed in meaning
    • Old system would check if the CTS Citation was not set, old code such as
    • if citation.isEmpty() should be moved to if citation.is_set()
  • Guidelines / CTS Citation Object
  • New Generic / Prototype Citation Object
    • RetroPorted .start and .end Properties (see below for breaking change)
    • New .is_range property

From MyCapytain.resources.prototypes.text to MyCapytain.resources.prototypes.cts.text :

  • CtsNode now PrototypeCtsNode
  • CtsPassage now PrototypeCtsPassage
  • CtsText now PrototypeCtsText

Texts class:

  • self.__attr__ to self._attr

CTS Citation:

  • CTSCitation.isEmpty() to CTSCitation.is_empty()

2.0.10

10 Apr 13:40
60d325e
Compare
Choose a tag to compare

Exporting metadata to JSON.Std format will now allow multiple objects from the graph to be saved under a single predicate in the resulting JSON file.

2.0.9

27 Jul 13:30
bbfee52
Compare
Choose a tag to compare
  • Removed a random print statement that had been used for debugging empty references

2.0.8

25 Jun 18:20
Compare
Choose a tag to compare

2018-06-25 2.0.8 @sonofmun

  • Corrected error on the empty references exception from 2.0.7
  • Now raises an exception when there is no refsDecl found (MissingRefsDecl)
  • The exception now raised by a citation request that is deeper than the citation scheme is a CitationDepthError

2.0.7

22 Jun 12:44
2366ebe
Compare
Choose a tag to compare
  • EmptyReference exception along with unit tests (see #171 )

2.0.6

20 Nov 14:51
8a8970b
Compare
Choose a tag to compare

2.0.6

  • Added a way to specify the joining string for Plaintext export (Fixes #146 )
  • Fixed a trailing slash in the URI of some examples

2.0.5

30 Oct 08:10
76f47ac
Compare
Choose a tag to compare

Contributions by @brosner

  • Added error handling for failed requests to CTS API
  • Explicitly set fallback encoding for CTS API responses

2.0.4

21 Aug 07:30
Compare
Choose a tag to compare

2017-08-21 2.0.4 @PonteIneptique

  • Issue #137 : Fixed a bug where a passage extraction would not work even if the passage was found in the reff extraction. Origin of the issue was replacing too much .// in the xpath and thus breaking it