File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
tests/functional/translate/cram Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -254,7 +254,7 @@ def validate_features(features):
254254 # Error if feature length is not a multiple of 3.
255255 length = len (feat .location )
256256 if length % 3 :
257- yield f"Gene length of { feature_name !r} is not a multiple of 3."
257+ yield f"{ feature_name !r} has length { length } which is not a multiple of 3."
258258
259259
260260def _read_nuc_annotation_from_gff (record , reference ):
Original file line number Diff line number Diff line change @@ -30,8 +30,8 @@ Gene length not divisible by 3
3030 > -- reference-sequence invalid. gff \
3131 > -- output-node-data " aa_muts.json"
3232 ERROR: Reference file ' invalid.gff' failed validation:
33- Gene length of ' gene1 ' is not a multiple of 3 .
34- Gene length of ' gene2 ' is not a multiple of 3 .
33+ ' gene1 ' has length 14 which is not a multiple of 3 .
34+ ' gene2 ' has length 13 which is not a multiple of 3 .
3535 [2 ]
3636
3737Gene with compound location not divisible by 3
@@ -60,5 +60,5 @@ Gene with compound location not divisible by 3
6060 .* (re )
6161 .* (re )
6262 ERROR: Reference file ' invalid.gb' failed validation:
63- Gene length of ' test_gene ' is not a multiple of 3 .
63+ ' test_gene ' has length 26 which is not a multiple of 3 .
6464 [2 ]
You can’t perform that action at this time.
0 commit comments