Skip to content

Commit

Permalink
Merge pull request #427 from rwblair/425-subject-autocontrast
Browse files Browse the repository at this point in the history
if there are more than one run enable autocontrasts at the subject level
  • Loading branch information
adelavega committed Dec 17, 2018
2 parents 5fdaeb4 + ed713f7 commit f7fd017
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions neuroscout/frontend/src/Builder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,13 @@ export default class AnalysisBuilder extends React.Component<BuilderProps & Rout
}
];

if (runs.length > 1) {
steps.push({
Level: 'Subject',
AutoContrasts: true
});
}

if (this.state.analysis.hrfPredictorIds) {
let hrfX: string[];
hrfX = this.state.analysis.hrfPredictorIds.map(id => {
Expand Down

0 comments on commit f7fd017

Please sign in to comment.