Skip to content

Commit

Permalink
Fixes #25; Added QC test for mixed subtype due to positive and negati…
Browse files Browse the repository at this point in the history
…ve tiles present for same target site

Signed-off-by: pkruczkiewicz <peter.kruczkiewicz@canada.ca>
  • Loading branch information
pkruczkiewicz committed Jan 12, 2018
1 parent 042d626 commit 21ca172
Show file tree
Hide file tree
Showing 3 changed files with 465 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bio_hansel/qc/checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def is_mixed_subtype(st: Subtype, df: DataFrame, *args) -> Tuple[Optional[str],
return QC.FAIL, '{}: Mixed subtype detected. Positive and negative tiles detected for ' \
'the same target site "{}" for subtype "{}".'.format(
QC.MIXED_SAMPLE_ERROR_2,
'; '.join(conflicting_tiles['refposition'].tolist()),
'; '.join(conflicting_tiles['refposition'].astype(str).tolist()),
st.subtype)


Expand Down
Loading

0 comments on commit 21ca172

Please sign in to comment.