Skip to content
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

update eLabFTW example #94

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

update eLabFTW example #94

wants to merge 1 commit into from

Conversation

NicolasCARPi
Copy link
Contributor

  • flatten the json-ld
  • add missing mandatory properties for ./ node -> now valid ro-crate

* flatten the json-ld
* add missing mandatory properties for ./ node -> now valid ro-crate
@nicobrandt
Copy link
Contributor

There are a bunch of variableMeasured with value null, I think they should be removed. The elabftw_metadata in variableMeasured is also missing a @type. Seems good to me otherwise.

@SteffenBrinckmann
Copy link
Collaborator

SteffenBrinckmann commented Nov 18, 2024

When I open it with the rocrate lib that @salexan2001 mentioned, I get an error:
ValueError: no @id in {'propertyID': 'elabftw_metadata', 'description': 'eLabFTW metadata JSON as string', 'value': '{"extra_fields": {"Raw data URL": {"type": "url", "value": "https://datalake.example.com/experiments/3921"}, "Annie, are you okay": {"type": "checkbox", "value": "", "description": "This is a checkbox custom input"}, "This is a custom list input": {"type": "select", "value": "Some choice", "options": ["Some choice", "Another choice", "A third choice"], "description": "The value is selected from a pre-defined list"}}}'}

Which are to my-understanding are not flattened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants