Skip to content

Commit

Permalink
TEST: Fix bad test model
Browse files Browse the repository at this point in the history
  • Loading branch information
effigies committed Oct 8, 2022
1 parent ed21f2a commit e42a20e
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions fitlins/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def sample_model_dict():
},
"Model": {"X": ["trial_type.ice_cream", "trial_type.cake", "food_sweats"]},
"DummyContrasts": {
"Conditions": ["trial_type.ice_cream", "trial_type.cake"],
"Contrasts": ["trial_type.ice_cream", "trial_type.cake"],
"Test": "t",
},
"Contrasts": [
Expand All @@ -69,13 +69,16 @@ def sample_model_dict():
},
{
"Level": "dataset",
"Name": "all_food_good_food",
"Name": "dataset",
"GroupBy": ["contrast"],
"Model": {"X": [1]},
"DummyContrasts": {
"Conditions": ["icecream_gt_cake", "eating_vs_baseline"],
"Test": "t",
},
"Model": {"X": [1], "Type": "glm"},
"DummyContrasts": {"Test": "t"},
},
{
"Level": "dataset",
"Name": "all_food_good_food",
"GroupBy": [],
"Model": {"X": ["trial_type.ice_cream", "trial_type.cake"], "Type": "glm"},
"Contrasts": [
{
"Name": "all_food_good_food",
Expand All @@ -90,9 +93,14 @@ def sample_model_dict():
{"Source": "run", "Destination": "subject"},
{
"Source": "subject",
"Destination": "all_food_good_food",
"Destination": "dataset",
"Filter": {"contrast": ["icecream_gt_cake", "eating_vs_baseline"]},
},
{
"Source": "subject",
"Destination": "all_food_good_food",
"Filter": {"contrast": ["trial_type.ice_cream", "trial_type.cake"]},
},
],
}

Expand Down

0 comments on commit e42a20e

Please sign in to comment.