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

Error message when no HEDVersion #90

Closed
VisLab opened this issue Nov 26, 2022 · 4 comments
Closed

Error message when no HEDVersion #90

VisLab opened this issue Nov 26, 2022 · 4 comments
Labels
bids BIDS integration bug Something isn't working external hold Waiting on external development

Comments

@VisLab
Copy link
Member

VisLab commented Nov 26, 2022

The error message when no HEDVersion is given in the dataset_description.json is not informative:

Your dataset is not a valid BIDS dataset.
view 1 error in 1 file
Error 1: [Code 104] HED_ERROR

Click here for more information about this issue
The validation on this HED string returned an error.

@happy5214
Copy link
Member

This is not an issue with this validator. Removing HEDVersion from an example dataset and running it through the CLI bids-validator returns (among other issues):

        3: [ERR] The validation on this HED string returned an error. (code: 104 - HED_ERROR)
                ./dataset_description.json
                        Evidence: ERROR: [HED_SCHEMA_LOAD_FAILED] The supplied schema specification is invalid. Specification: no schema available

        Please visit https://neurostars.org/search?q=HED_ERROR for existing conversations about this issue.

        1: [WARN] You should define 'HEDVersion' for this file. If you don't provide this information, the HED validation will use the latest version available. (code: 109 - HED_VERSION_NOT_DEFINED)

        Please visit https://neurostars.org/search?q=HED_VERSION_NOT_DEFINED for existing conversations about this issue.

The warning message does need to be updated, but that's an issue that should be raised over at BIDS, as that's one of their messages.

@happy5214 happy5214 added bug Something isn't working bids BIDS integration external hold Waiting on external development labels Apr 21, 2023
@happy5214
Copy link
Member

My comment above is mostly nonsense. Is this still an issue? (In other words, should we still be including an error if no schema spec/HEDVersion is passed?) If so, the BIDS warning should be deleted as redundant/incorrect (as we don't use the latest version as a default anymore).

@VisLab
Copy link
Member Author

VisLab commented May 31, 2024 via email

@happy5214
Copy link
Member

The error message on our side has been deemed desirable. The warning on the BIDS side (code 109) is somewhat redundant, but no action will be taken on it until bids-validator is finished being ported to Deno. Closing as "won't fix" for now.

@happy5214 happy5214 closed this as not planned Won't fix, can't repro, duplicate, stale May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bids BIDS integration bug Something isn't working external hold Waiting on external development
Projects
None yet
Development

No branches or pull requests

2 participants