Skip to content

Commit

Permalink
replace hard coded table with macro call
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Jul 28, 2021
1 parent 1c10b4e commit a05fcfe
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions src/04-modality-specific-files/07-behavioral-experiments.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,14 @@ In addition of the metadata REQUIRED for some data that can be found in the `beh
(for example `SamplingFrequency` and `StartTime` for `*_<physio|stim>.tsv.gz` files),
it is RECOMMENDED to add the following metadata to the JSON files of this folder.

| **Key name** | **Requirement level** | **Data type** | **Description**
|
| ------------------ | --------------------- | ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| TaskName | RECOMMENDED | [string][] | Name of the task. No two tasks should have the same name. The task label included in the file name is derived from this `TaskName` field by removing all non-alphanumeric (`[a-zA-Z0-9]`) characters. For example `TaskName` `"faces n-back"` will correspond to task label `facesnback`. |
| TaskDescription | RECOMMENDED | [string][] | Description of the task. |
| Instructions | RECOMMENDED | [string][] | Text of the instructions given to participants before the scan. This is not only important for behavioral or cognitive tasks but also in resting state paradigms (for example, to distinguish between eyes open and eyes closed). |
| CogAtlasID | RECOMMENDED | [string][] | [URI][uri] of the corresponding [Cognitive Atlas](https://www.cognitiveatlas.org/) term that describes the task (for example, Stroop task "<https://www.cognitiveatlas.org/task/id/tsk_4a57abb949e27>"). |
| CogPOID | RECOMMENDED | [string][] | [URI][uri] of the corresponding [CogPO](http://www.cogpo.org/) term that describes the task (for example, Stroop "<http://wiki.cogpo.org/index.php?title=Stroop_Task_Paradigm>") . |
| InstitutionName | RECOMMENDED | [string][] | The name of the institution in charge of the equipment that produced the composite instances. |
| InstitutionAddress | RECOMMENDED | [string][] | The address of the institution in charge of the equipment that produced the composite instances. |
{{ MACROS___make_metadata_table(
{
"TaskName": "RECOMMENDED",
"Instructions": "RECOMMENDED",
"TaskDescription": "RECOMMENDED",
"CogAtlasID": "RECOMMENDED",
"CogPOID": "RECOMMENDED",
"InstitutionName": "RECOMMENDED",
"InstitutionAddress": "RECOMMENDED",
}
) }}

0 comments on commit a05fcfe

Please sign in to comment.