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

cf2rdf cmd line execution only works with 'watchdog' #6

Open
graybeal opened this issue Jan 16, 2025 · 0 comments
Open

cf2rdf cmd line execution only works with 'watchdog' #6

graybeal opened this issue Jan 16, 2025 · 0 comments

Comments

@graybeal
Copy link
Member

graybeal commented Jan 16, 2025

The cf2rdf instructions at https://github.com/mmisw/cf2rdf/blob/main/README.md only work if the watchdog option is selected.

If the configuration is set to use a particular version, the registration option fails because the version number is not captured locally.

I could set up the .conf to download a particular version (not current) and that seemed to work e.g. with this:
java -jar cf2rdf-x.y.z.jar download convert
But when I tried to register the result it I got an Exception that seemed to reflect the fact that it expects the version to be set in whatever way the watchdog does it, not just in my conf file.

Exception in thread "main" java.lang.Exception
	at org.mmisw.cf2rdf.cf2rdf$.$anonfun$registerOntologies$1(cf2rdf.scala:82)

So I ran it with the watchdog parameter and the new CF versions got registered. So Success! (mostly)

@graybeal graybeal changed the title cf2rdf cmd line executation only works with 'watchdog' cf2rdf cmd line execution only works with 'watchdog' Jan 16, 2025
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

1 participant