Skip to content

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

@Remi-Gau

Description

@Remi-Gau

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"
        }
      ]
    }
  ]
}

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