Comments (2)
Addressed by #75.
What constitutes a bug is mostly a matter of expectations
I could not find anything in the spec saying that data entities referenced by the RO-Crate metadata must exist. It's certainly too much to ask of remote items, which could be gone anytime. Actually that's also true of local files, but it's less expensive to check. What matters is what happens when you try to access the referenced resource, and in the current version of the library that only happens when you write the crate to disk. I've adopted a "relaxed" approach: if the files can't be found, they won't be written, but the library won't complain.
from ro-crate-py.
In short: with #75, you can not only load, but also write an incomplete crate.
from ro-crate-py.
Related Issues (20)
- Entity getitem breaks for null JSON values
- Adding a file to a new crate gives an error when trying adding source as FTP URI: AttributeError: '_io.BufferedReader' object has no attribute 'getheader' HOT 4
- Exclude option for crate init
- CLI: make specifying IDs more user-friendly
- write-zip CLI command reinitializes the crate
- Inconsistent defaults for validate_url
- "file" is a reserved keyword HOT 1
- Package: drop support Python 3.6 and add Python 3.9 and 3.10
- Allow root dataset to have more than one type HOT 2
- Remove software version defaults
- Iterate through graph HOT 6
- Handle duplicates in property values HOT 2
- Add contentUrl property to files when it's known
- Fix behavior wrt "missing" data entities
- Broken error message in pick_type
- Add method to get entities by type
- Distribution request: rocrate-py on conda forge HOT 5
- CLI can generate an error when command help is requested
- CLI: add a way to set properties
- Can't read recent WorkflowHub crates HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ro-crate-py.