researchobject / ro-crate-validator-py Goto Github PK
View Code? Open in Web Editor NEWPython-based RO-Crate validator (alpha)
License: Apache License 2.0
Python-based RO-Crate validator (alpha)
License: Apache License 2.0
I have trouble validating my crate due to the second term at
It excludes the root data entity but shouldn’t onlyro-crate-metadata.json
be excluded?Am I correct in interpreting this commented out bit of code to mean that it doesn't currently support zip archives? https://github.com/ResearchObject/ro-crate-validator-py/blob/a5ff613e6e5d871f94d6e8722a5f18bb129b45d7/src/rocrateValidator/syntaxCheck.py#L42C1-L45C34
From the WIP PR: https://github.com/ResearchObject/runcrate/pull/17/files#diff-fa602a8a75dc9dcc92261bac5f533c2a85e34fcceaff63b3a3a81d9acde2fc52R45
Probably because of a loose import
in this module (there could be others): https://github.com/ResearchObject/ro-crate-validator-py/blob/main/src/rocrateValidator/semanticCheck.py#L11
As rocrate is a dependency, you could add this to the README.md
You seem to be able to leave the function
ro-crate-validator-py/src/rocrateValidator/semanticCheck.py
Lines 769 to 816 in c3c5c18
Hey y'all, just installed the package via pip and saw an error due to pytest, I'd written a long issue about it before discovering e95b1ab so it's already been fixed, yay! Could a new release be made at some point in the future (no rush from my side.)
Even something as simple as
import sys
from rocrateValidator import validate as validate
v = validate.validate(sys.argv[1])
v.validator()
would be a great help! Additionally to return the message on validator()
rather than invoking print could be nice for consumers to decide how they want to handle the output.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.