-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Corrected problem with non-existent text (#131)
* Corrected problem with non-existent text Such a text that was present in the metadata but did not exist would cause a call to the text resolver to fail Added a warning message if the file does not exist and testing for this new functionality in unit tests * Bumped version and added text to CHANGES.md * Corrected typo * Update CHANGES.md
- Loading branch information
Showing
9 changed files
with
60,816 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,4 @@ | |
""" | ||
|
||
__version__ = "2.0.0" | ||
__version__ = "2.0.1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
<ti:textgroup xmlns:ti="http://chs.harvard.edu/xmlns/cts" projid="farsiLit:hafez" urn="urn:cts:farsiLit:hafez"> | ||
<ti:groupname xml:lang="eng">Hafez</ti:groupname> | ||
</ti:textgroup> |
29 changes: 29 additions & 0 deletions
29
tests/testing_data/missing_text/data/hafez/divan/__cts__.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<ti:work xmlns:ti="http://chs.harvard.edu/xmlns/cts" groupUrn="urn:cts:farsiLit:hafez" projid="farsiLit:divan" urn="urn:cts:farsiLit:hafez.divan" xml:lang="fa"> | ||
<ti:title xml:lang="eng">Divān</ti:title> | ||
<ti:edition urn="urn:cts:farsiLit:hafez.divan.perseus-far1" workUrn="urn:cts:farsiLit:hafez.divan"> | ||
<ti:label xml:lang="eng">Divān</ti:label> | ||
<ti:description xml:lang="eng">Perseus:bib:oclc, 254557372. Diwan-i Hwaga Sams-ad-Din | ||
Muhammad Hafiz Sirazi qaddas sarra-yi al-aziz ba tamam. edited by Muhammad | ||
Qazwini and Qasim Gani as available on ganjoor.net. Tehran, Caphana-i Maglis. | ||
1941. </ti:description> | ||
</ti:edition> | ||
<ti:translation xml:lang="eng" urn="urn:cts:farsiLit:hafez.divan.perseus-eng1" workUrn="urn:cts:farsiLit:hafez.divan"> | ||
<ti:label xml:lang="eng">Divān (English)</ti:label> | ||
<ti:description xml:lang="eng">Perseus:bib:oclc, 559481156. The Dīvān .Translated for | ||
the first time out of the Persian into English prose, with critical and | ||
explanatory remarks, with an introductory preface, with a note on Ṣūfīism, and | ||
with a life of the author, by H. Wilberforce Clarke. Calcutta, India. 1891. </ti:description> | ||
</ti:translation> | ||
<ti:translation xml:lang="ger" urn="urn:cts:farsiLit:hafez.divan.perseus-ger1" workUrn="urn:cts:farsiLit:hafez.divan"> | ||
<ti:label xml:lang="eng">Divān (German)</ti:label> | ||
<ti:description xml:lang="eng">Perseus:bib:oclc, 6773200. Mohammed Schemsed-din Hafis, | ||
Der Diwan, Aus dem Persischen zum erstenmal ganz übersetzt von Joseph von | ||
Hammer-Purgstall. Stuttgart and Tübingen, 1812. </ti:description> | ||
</ti:translation> | ||
<ti:translation xml:lang="ger" urn="urn:cts:farsiLit:hafez.divan.missing_text" workUrn="urn:cts:farsiLit:hafez.divan"> | ||
<ti:label xml:lang="eng">Divān (German)</ti:label> | ||
<ti:description xml:lang="eng">Perseus:bib:oclc, 6773200. Mohammed Schemsed-din Hafis, | ||
Der Diwan, Aus dem Persischen zum erstenmal ganz übersetzt von Joseph von | ||
Hammer-Purgstall. Stuttgart and Tübingen, 1812. </ti:description> | ||
</ti:translation> | ||
</ti:work> |
Oops, something went wrong.