Skip to content

Commit 9b8eb31

Browse files
committed
adjust the wording of the error
1 parent dd74b0a commit 9b8eb31

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

v03_pipeline/lib/misc/io.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ def compute_hail_n_partitions(file_size_b: int) -> int:
7878

7979
@validated_hl_function(
8080
{
81-
'RVD error! Keys found out of order': 'Your callset failed while attempting to split multiallelic sites. This error can occur after a split_multi if the dataset contains both multiallelic variants and duplicated loci.',
81+
'RVD error! Keys found out of order': 'Your callset failed while attempting to split multiallelic sites. This error can occur after if the dataset contains both multiallelic variants and duplicated loci.',
8282
},
8383
)
8484
def split_multi_hts(

v03_pipeline/lib/misc/io_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def test_select_missing_field(self) -> None:
142142
def test_split_multi_failure(self) -> None:
143143
self.assertRaisesRegex(
144144
SeqrValidationError,
145-
'Your callset failed while attempting to split multiallelic sites. This error can occur after a split_multi if the dataset contains both multiallelic variants and duplicated loci.',
145+
'Your callset failed while attempting to split multiallelic sites. This error can occur if the dataset contains both multiallelic variants and duplicated loci.',
146146
split_multi_hts,
147147
hl.MatrixTable.from_parts(
148148
rows={

0 commit comments

Comments
 (0)