-
Notifications
You must be signed in to change notification settings - Fork 31
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
bidsmri2nidm - "ERROR: initializing InterLex connection" without further info #377
Comments
is this issue resolved , can you provide more details about this issue |
Hi, I also have this error on a clean install of pynidm (Ubuntu 22.04). I have rolled back my rdflib to version 6.1.1. |
Hi, Have you tried setting the environment variable INTERLEX_API_KEY with your key (see usage below)? usage: bidsmri2nidm [-h] -d DIRECTORY [-jsonld] [-bidsignore] [-no_concepts] [-json_map JSON_MAP] [-log LOGFILE] [-o OUTPUTFILE] This program will represent a BIDS MRI dataset as a NIDM RDF document and provide user with opportunity to annotate Note, you must obtain an API key to Interlex by signing up for an account at scicrunch.org then going to My Account optional arguments: map variables to terms arguments: |
Yes, my key is installed correctly.
…On Wed, Feb 21, 2024, 3:03 PM David Keator ***@***.***> wrote:
Hi, Have you tried setting the environment variable INTERLEX_API_KEY with
your key (see usage below)?
usage: bidsmri2nidm [-h] -d DIRECTORY [-jsonld] [-bidsignore]
[-no_concepts] [-json_map JSON_MAP] [-log LOGFILE] [-o OUTPUTFILE]
This program will represent a BIDS MRI dataset as a NIDM RDF document and
provide user with opportunity to annotate
the dataset (i.e. create sidecar files) and associate selected variables
with broader concepts to make datasets more
FAIR.
*Note, you must obtain an API key to Interlex by signing up for an account
at scicrunch.org <http://scicrunch.org> then going to My Account and API
Keys. Then set the environment variable INTERLEX_API_KEY with your key.*
optional arguments:
-h, --help show this help message and exit
-d DIRECTORY Full path to BIDS dataset directory
-jsonld, --jsonld If flag set, output is json-ld not TURTLE
-bidsignore, --bidsignore
If flag set, tool will add NIDM-related files to .bidsignore file
-no_concepts, --no_concepts
If flag set, tool will no do concept mapping
-log LOGFILE, --log LOGFILE
Full path to directory to save log file. Log file name is
bidsmri2nidm_[basename(args.directory)].log
-o OUTPUTFILE Outputs turtle file called nidm.ttl in BIDS directory by
default..or whatever path/filename is set here
map variables to terms arguments:
-json_map JSON_MAP, --json_map JSON_MAP
Optional full path to user-suppled JSON file containing variable-term
mappings.
—
Reply to this email directly, view it on GitHub
<#377 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJ6SOF3BVGHTYA4HZTYBTU3YUZ4NPAVCNFSM6AAAAAAZ7VDGSGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJYGI2TKNBUHE>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
It would be better if it informed a little more about that ERROR
INTERLEX_API_KEY
wrong?so a user could get a clue on what to do next having got into this pickle
The text was updated successfully, but these errors were encountered: