nfdi4plants / arc-validate

Home of all the tools and libraries to create and run validation of ARCs
https://nfdi4plants.github.io/arc-validate/
MIT License
3 stars 2 forks source link

[Support] Pipeline not generating any output #85

Closed awellmann closed 4 months ago

awellmann commented 4 months ago

This is more of a support request than an actual Issue, but I hope you can point me into the right direction. I'm interested in incorporating the arc-validate pipeline into the arc-manager and re-use this for the Plantmicrobe project. Therefore I wanted to test your pipeline locally, but I'm facing some issues.

I pulled the latest docker image from the repo and started the docker container locally. Then I copied this data inside the container and executed the arc-validate validate command on it. But no xml file or badge is generated and there's also no error message. In an earlier version, where I had to build the image from source it worked this way and I was able to generate a badge for the same example data.

kMutagene commented 4 months ago

Hi @awellmann ,

The new version of arc-validate works with target-based validation packages.

What previously was the default target is now the invenio package. The reason for this is that the initial scope of arc-validate was only validating whether an arc is 'publishable' . Now, invenio is just one of potentially many validation packages.

You can read more about this on the current draft branch of the ARC specification v2

To use the invenio package in our container, you will first have to install it and then execute it:

arc-validate package install invenio
arc-validate validate -p invenio

Docs for the command line flags are available here

We are working on specification validation in parallel with developing the 2.0.0 version of the ARC specification. Once that version is finished and released, we aim to additionally provide specification validation as a default target for arc-validate validate (without package target)

awellmann commented 4 months ago

Oh I forgot to mention that I tried the package approach after the other one didn't work. But for some reason I ignored the invenio package and only used test. Now it works, thanks a lot! We can close it now I guess ;)