Skip to content

Develop expression language for executing rules #48

@ubdbra001

Description

@ubdbra001

bidsschematools (BST) has tooling for parsing the Javascript-ish rules in the schema, but the validator currently doesn't parse rules and check these parsed rules.

This issue should address the following:

  • Parse the rules (using or possibly reimplementing the BST tooling)
  • Execute the selector rules on specific file contexts to identify which checks should be run for a specific file
  • Execute the checks against that file (and report errors)?

Suggestion was to start by looking at the pyparsing package for examples.

Is this roughly correct @effigies? What did I miss?

Metadata

Metadata

Assignees

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