Skip to content

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

@graybeal

Description

@graybeal

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions