We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 424ac42 commit 56ad9b2Copy full SHA for 56ad9b2
tests/test_module_recombinase.py
@@ -339,6 +339,10 @@ def test_recombinase_collection_annotate():
339
assert annotated_seq.features[0].qualifiers.get("label", []) == ["s1"]
340
assert annotated_seq.features[1].qualifiers.get("label", []) == ["s1"]
341
342
+ # It does not re-annotate if the sequence is already annotated.
343
+ annotated_seq = collection.annotate(annotated_seq)
344
+ assert len(annotated_seq.features) == 2
345
+
346
347
def test_recombinase_collection_init_errors():
348
# Check that the init method raises errors for invalid inputs.
0 commit comments