Skip to content

Commit

Permalink
fix tables
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Oct 6, 2023
1 parent a766be1 commit 326b01c
Show file tree
Hide file tree
Showing 5 changed files with 79 additions and 79 deletions.
10 changes: 5 additions & 5 deletions src/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Added

- Adopted Boutiques validatable and runnable descriptive standard
- Increased flexibility for runtime arguments and command-line formatting
- Defined exit codes to indicate various application outcomes
- Link between application descriptions and data specification versions
- Extensible definition which will scale with the BIDS standards as new entities are added
- Adopted Boutiques validatable and runnable descriptive standard
- Increased flexibility for runtime arguments and command-line formatting
- Defined exit codes to indicate various application outcomes
- Link between application descriptions and data specification versions
- Extensible definition which will scale with the BIDS standards as new entities are added

### Changed

Expand Down
52 changes: 26 additions & 26 deletions src/inputs.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,31 @@ fields, described fully in

## List of relevant inputs object properties for the BIDS Application specification

| Field name | Requirement Level | Data type | Description |
|:------------------|:--------------------|:------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| command-line-flag | OPTIONAL | String | For non-positional arguments, the flag which is associated with the argument on the command-line. |
| id | REQUIRED | String | The argument ID. Alphanumeric values and underscores only. CamelCase is recommended. |
| list | OPTIONAL | Boolean | Indicates whether or not the input field is a list of inputs. One of {true, false}. If omitted, it will be interpreted as false (for example non-list input). |
| name | REQUIRED | String | Plain text name of input for display. Can contain spaces. |
| optional | OPTIONAL | Boolean | Indicates whether or not the input field is required. One of {true, false}. If omitted, will be interpreted as false (for example non-optional input). |
| type | REQUIRED | String | One of {"String", "File", "Flag", "Number"}. |
| value-choices | OPTIONAL | List | List of possible values that the parameter may take. |
| value-key | OPTIONAL | String | String to replace in command-line template string. If specified, this MUST NOT be either a superset or subset of the value-key attribute associated with another object in the descriptor; to ensure this, brackets are typically used (for example "[value]"). |
| Field name | Requirement Level | Data type | Description |
|-------------------|-------------------|:----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| command-line-flag | OPTIONAL | String | For non-positional arguments, the flag which is associated with the argument on the command-line. |
| id | REQUIRED | String | The argument ID. Alphanumeric values and underscores only. CamelCase is recommended. |
| list | OPTIONAL | Boolean | Indicates whether or not the input field is a list of inputs. One of {true, false}. If omitted, it will be interpreted as false (for example non-list input). |
| name | REQUIRED | String | Plain text name of input for display. Can contain spaces. |
| optional | OPTIONAL | Boolean | Indicates whether or not the input field is required. One of {true, false}. If omitted, will be interpreted as false (for example non-optional input). |
| type | REQUIRED | String | One of {"String", "File", "Flag", "Number"}. |
| value-choices | OPTIONAL | List | List of possible values that the parameter may take. |
| value-key | OPTIONAL | String | String to replace in command-line template string. If specified, this MUST NOT be either a superset or subset of the value-key attribute associated with another object in the descriptor; to ensure this, brackets are typically used (for example "[value]"). |


### List of group object properties and their role within the BIDS Application specification

In addition to describing inputs themselves, groups of inputs and their relationships can be defined as follows:

| Field name | Requirement Level | Data type | Description |
|:-------------------|:--------------------|:------------|:-------------------------------------------------------------------------------------------------|
| all-or-none | OPTIONAL | Boolean | True if all parameters included in this group need to be included together. . |
| description | RECOMMENDED | String | Description of the input group. |
| id | REQUIRED | String | A short, unique, informative identifier containing only alphanumeric characters and underscores. |
| members | REQUIRED | List | IDs of the input parameters belonging to this group. |
| mutually-exclusive | OPTIONAL | Boolean | True if only one input in the group may be selected at runtime. |
| name | REQUIRED | String | A human-readable name for the input group. |
| one-is-required | OPTIONAL | Boolean | True if at least one of the inputs in the group must be selected. |
| Field name | Requirement Level | Data type | Description |
|--------------------|-------------------|:----------|--------------------------------------------------------------------------------------------------|
| all-or-none | OPTIONAL | Boolean | True if all parameters included in this group need to be included together. . |
| description | RECOMMENDED | String | Description of the input group. |
| id | REQUIRED | String | A short, unique, informative identifier containing only alphanumeric characters and underscores. |
| members | REQUIRED | List | IDs of the input parameters belonging to this group. |
| mutually-exclusive | OPTIONAL | Boolean | True if only one input in the group may be selected at runtime. |
| name | REQUIRED | String | A human-readable name for the input group. |
| one-is-required | OPTIONAL | Boolean | True if at least one of the inputs in the group must be selected. |

## Required arguments

Expand All @@ -43,13 +43,13 @@ be expressed in the tool's interface.

### List of custom object properties and roles within the BIDS Application specification.

| Argument ID | CLI Flag | Requirement Level | Data type | Description |
|:---------------|:---------------------|:--------------------|:------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| AnalysisLevel | `--analysis-level` | REQUIRED | String | String with value-choices which are a subset of {run, session, subject, dataset, meta}. The app may support one or more of these analysis levels. A default may be set, and unsupported analysis levels should return an exit code of 17, consistent with the definition in Table 7. |
| Help | `--help` | REQUIRED | Flag | Flag that specifies whether or not to show the help-text that describes how the tool may be correctly used. |
| InputDataset | `--input-dataset` | REQUIRED | List | List of URIs/paths of the BIDS datasets to be processed. Whether or not the order of listed datasets is important MUST be specified in the parameter description. The tool MUST NOT reorder the user-specified list. |
| OutputLocation | `--output-location` | REQUIRED | List | One URI/path to the location where all outputs will be stored. |
| ToolVersion | `--version` | REQUIRED | Flag | Returns the version of the tool being used. |
| Argument ID | CLI Flag | Requirement Level | Data type | Description |
|----------------|-------------------- |-------------------|:----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| AnalysisLevel | `--analysis-level` | REQUIRED | String | String with value-choices which are a subset of {run, session, subject, dataset, meta}. The app may support one or more of these analysis levels. A default may be set, and unsupported analysis levels should return an exit code of 17, consistent with the definition in Table 7. |
| Help | `--help` | REQUIRED | Flag | Flag that specifies whether or not to show the help-text that describes how the tool may be correctly used. |
| InputDataset | `--input-dataset` | REQUIRED | List | List of URIs/paths of the BIDS datasets to be processed. Whether or not the order of listed datasets is important MUST be specified in the parameter description. The tool MUST NOT reorder the user-specified list. |
| OutputLocation | `--output-location` | REQUIRED | List | One URI/path to the location where all outputs will be stored. |
| ToolVersion | `--version` | REQUIRED | Flag | Returns the version of the tool being used. |

## Backwards compatibility

Expand Down
Loading

0 comments on commit 326b01c

Please sign in to comment.