-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Replace XSLT with TS #11
Conversation
…aseURI, taxonNameForURI, taxonConceptBaseURI, taxonConceptURI,
(were added by erroneous vscode-autocomplete)
tested with 03ACBF18FFD41B34FF31F964FC37EC8F
it only reports on removed/changed lines (i.e. additions are presumed to be fine) note that this makes some assumptions as to where xml and rdf are located
in case of defining treatments
neccessairy because some information needs to be collated also various fixes
I tend to disagree. It makes the NOTES at the top of the file inaccurate, and even if that is fixed it still increases complexity. I think the additional time needed when making future changes far outweighs the tedious but relatively small amount of work to make it consistent now. |
The error is because it checks for {$ttlReferenceDir}/ex.ttl, which probaly does not exist in the docker container.
If you wish to simply check what output |
i have changed this now |
Weird that it didn't! I committed from the working dev container.
…On February 29, 2024 8:18:01 AM GMT+01:00, nleanba ***@***.***> wrote:
@nleanba commented on this pull request.
On Dockerfile:
i have removed it again, so that the container actually builds again
--
Reply to this email directly or view it on GitHub:
#11 (comment)
You are receiving this because you were mentioned.
Message ID: ***@***.***>
|
Experimenting with 000040332F2853C295734E7BD4190F05. I see the current ttl version has 106 triples,the one generated by the new transformer 118. These are the additional triples:
The additional triples look sound, the previously missing title matches the one on https://treatment.plazi.org/id/000040332F2853C295734E7BD4190F05 I do see two error messages:
|
Regarding
In turtle the order plays a role with regard to base and prefix, so I think this requirement should be dropped. |
Those Errors indicate that it found mentions of these taxa, but it could not figure out their authorities to turn them into citations (augments or deprecates). The rdf output matches the behaviour of the xslt, but with more insight into why it was generated in the way it was. |
vscode autocomplete is sometimes more of a hindrance
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't really see the point of having this?
I'd rather test as directly on a bunch files from a current clone of the treatment-xml repo, given that no single file can cover all edge cases and the xml may change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it greatly facilitates debugging
@retog did you rebase this into main? this is rather inelegant, as now all my commits are marked as unverified. i think a merge commit would have been better |
I did. I didn't know about this implication. |
Open todos: