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

Check file content #72

Open
JuliaSprenger opened this issue Mar 29, 2021 · 2 comments
Open

Check file content #72

JuliaSprenger opened this issue Mar 29, 2021 · 2 comments

Comments

@JuliaSprenger
Copy link
Collaborator

Currently the AnDOChecker only considers folder and file names, but does not check the content of metadata files for required fields.
We should discuss on how this kind of check can be integrated in the current architecture. These checks need to be quite flexible, as some metadata files or entries are only required in certain circumstances, eg. a tasks.csv is only required if the concept of tasks is used in the dataset.

One possible implementation would be function / method based, i.e. having one function checking the consistency of all task entries within the structure. However, this would be a quite different approach to the current rule_set approach taken for file and folder names.

Are there any additional proposals on how to add these specifics checks to the current architecture?

@SylvainTakerkart
Copy link
Collaborator

Yes, but I have to admit I'm a bit reluctant to get into this... Could we first make progress on the DigLab2AnDO development? And get it to be used by users...

Also, we might want to discuss this, this might be easier...

@Remi-Gau
Copy link

Remi-Gau commented Dec 6, 2021

Yes I would keep that for later too.

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

No branches or pull requests

3 participants