Skip to content

Commit

Permalink
[TEST] adding comments file to team description
Browse files Browse the repository at this point in the history
  • Loading branch information
bclenet committed Oct 10, 2023
1 parent 291b045 commit eb22a7d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
3 changes: 3 additions & 0 deletions tests/data/test_description.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ def test_arguments_properties():
assert description['analysis.RT_modeling'] == 'duration'
assert description['categorized_for_analysis.analysis_SW_with_version'] == 'SPM12'
assert description['derived.func_fwhm'] == '8'
assert description['comments.excluded_from_narps_analysis'] == 'no'

# 4 - Check properties
assert isinstance(description.general, dict)
Expand All @@ -63,6 +64,7 @@ def test_arguments_properties():
assert isinstance(description.analysis, dict)
assert isinstance(description.categorized_for_analysis, dict)
assert isinstance(description.derived, dict)
assert isinstance(description.comments, dict)

assert list(description.general.keys()) == [
'teamID',
Expand All @@ -82,6 +84,7 @@ def test_arguments_properties():
assert description.analysis['RT_modeling'] == 'duration'
assert description.categorized_for_analysis['analysis_SW_with_version'] == 'SPM12'
assert description.derived['func_fwhm'] == '8'
assert description.comments['excluded_from_narps_analysis'] == 'no'

# 6 - Test another team
description = TeamDescription('9Q6R')
Expand Down
5 changes: 5 additions & 0 deletions tests/test_data/data/description/test_markdown.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,8 @@ Model EVs (2): eq_indiff, eq_range
* `excluded_participants` : 018, 030, 088, 100
* `func_fwhm` : 5
* `con_fwhm` :
## Comments
* `excluded_from_narps_analysis` : no
* `exclusion_comment` : N/A
* `reproducibility` :
* `reproducibility_comment` :
6 changes: 5 additions & 1 deletion tests/test_data/data/description/test_str.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,5 +53,9 @@
"derived.n_participants": "104",
"derived.excluded_participants": "018, 030, 088, 100",
"derived.func_fwhm": "5",
"derived.con_fwhm": ""
"derived.con_fwhm": "",
"comments.excluded_from_narps_analysis": "no",
"comments.exclusion_comment": "N/A",
"comments.reproducibility": "",
"comments.reproducibility_comment": ""
}

0 comments on commit eb22a7d

Please sign in to comment.