Skip to content

Commit

Permalink
fix cohort overlap warning (#1093)
Browse files Browse the repository at this point in the history
  • Loading branch information
UchicagoZchen138 authored and cmlsn committed Nov 29, 2022
1 parent 36b5fa3 commit aee4e10
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/Analysis/GWASWizard/CohortOverlap.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,19 +65,22 @@ const CohortOverlap = ({
<br />
{cohortSizes[1]} subjects were found in <b>{selectedControlCohort.cohort_name}</b> cohort.
<br />
<strong style={{ color: '#bf2600' }}>
<strong style={{ color: '#F6BE00' }}>
Warning: overlap found between both cohorts!
<br />
({`${data.cohort_overlap.case_control_overlap_after_filter} `}
subjects were found to be present in both cohorts).
<br />
Please review your selections.<br />

</strong>
<b style={{ fontSize: '16px', color: '#bf2600'}}>
If you choose to continue, be aware that these
{` ${data.cohort_overlap.case_control_overlap_after_filter} `}
subjects will <i>not</i> be considered in the analysis.
<br />
The cohort sizes reported above have already been adjusted to <i>not</i> include these overlapping subjects.
</strong>
The cohort sizes reported above have already been adjusted to <i>not</i> include these overlapping subjects.</b>

</div>
);
};
Expand Down

0 comments on commit aee4e10

Please sign in to comment.