galaxyproject / galaxyproject/gxformat2

real-multi-data-input.ga has step-level 'optional' field not in native schema

Open
#172 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
14
Forks
7
Avg merge
2h 49m
Merged PRs (30d)
8

Description

The fixture `gxformat2/examples/native/real-multi-data-input.ga` (origin: real) has an `"optional"` key at the step level (steps 0 and 1) that is not part of the `NativeStep` schema. This causes strict Pydantic validation to fail.

```json
"0": {
"optional": true,
"type": "data_input",
...
}
```

Unclear where this field came from — it's not a standard Galaxy native workflow export field. Options:
- If Galaxy actually exports this, the native schema needs updating
- If it was manually added, the fixture origin should be `real-hacked` and the field removed or the schema updated

Discovered while adding comprehensive schema validation declarative tests for all catalog fixtures.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.