Skip to content

[ENH] Add option to coerce into a 0.5 schema descriptor #13

Description

@michellewang

Whenever "type" is not a string.

A few common cases in the NiPreps pipelines:

  • verbose_count: convert to String with "value-choices" = ["-v", "-vv", "-vvv"]
  • nargs=?: unnest
  • Mutually exclusive arguments: might be a bit hacky but possibly doable. There are some upstream bugs in Styx though.

Either write a heuristics script or rely on an LLM agent to do it. Tempted to try the script.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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