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

Updates from JavaScript version #2

Closed
happy5214 opened this issue Aug 16, 2019 · 1 comment · Fixed by #66
Closed

Updates from JavaScript version #2

happy5214 opened this issue Aug 16, 2019 · 1 comment · Fixed by #66
Assignees

Comments

@happy5214
Copy link
Member

happy5214 commented Aug 16, 2019

I have made the following changes in my JavaScript version of the HED validator (https://github.com/VisLab/HEDBidsValid/tree/semantic):

  • TagValidator
    • Deleted get_next_set_of_parentheses_in_hed_string(), _get_index_at_end_of_parentheses(), and _is_valid_tag_with_parentheses(), along with the parentheses check from find_comma_issues_in_hed_string(), as parentheses are no longer permitted in HED tags.
  • HedDictionary
    • Recursively added descendants of extensionAllowed tags to that dictionary, as in this JS code.
@happy5214
Copy link
Member Author

Also, TagValidator.is_numeric_tag() doesn't appear to be used outside the testcases.

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

Successfully merging a pull request may close this issue.

1 participant