Skip to content

ylm file useage

Yibei Chen edited this page Jul 18, 2022 · 1 revision

Example:

ConvertXFM:
  output_requirements:
    out_file: [in_file]
  output_templates:
    out_file: [ConvertXFM_output]
  doctest:
    in_file: flirt.mat
    invert_xfm: True
    out_file: flirt_inv.mat
    cmdline: convert_xfm -omat flirt_inv.mat -inverse flirt.mat
  tests_inputs:
    - in_file: flirt.mat
      invert_xfm: True
  tests_outputs:
    - out_file

output_requirements

  • all outputs need to be listed here, even if you are not sure about their requirements. The converter.py needs the name here to generate output_fields
Clone this wiki locally