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

Validation does not catch objects with "unknown" keys #51

Open
Remi-Gau opened this issue Jun 7, 2022 · 0 comments
Open

Validation does not catch objects with "unknown" keys #51

Remi-Gau opened this issue Jun 7, 2022 · 0 comments

Comments

@Remi-Gau
Copy link
Contributor

Remi-Gau commented Jun 7, 2022

Spotted by @mwmaclean

{
  "Name": "my_first_model",
  "BIDSModelVersion": "1.0.0",
  "Description": "My first BIDS model: a simple 2-condition contrast.",
  "Input": {
    "task": ["stroop"]
  },
  "Nodes": [
    {
      "Level": "Run",
      "Name": "run",
      "GroupBy": ["run", "subject"],
      "Model": {
        "X": ["congruent", "incongruent", "nuissance1", "nuissance2", 1],
        "Type": "glm"
      },
      "ControlContrasts": [                <----- This Should be Contrasts but the validator is happy with it
        {
          "Name": "incongruent_vs_congruent",
          "ConditionList": ["incongruent", "congruent"],
          "Weights": [1, -1],
          "Test": "t"
        }
      ]
    }
  ]
}
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