Skip to content

Commit 3110228

Browse files
committed
Update scadnano.py
1 parent 7d48e95 commit 3110228

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

scadnano/scadnano.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6613,17 +6613,17 @@ def _cadnano_v2_place_crossover(helix_from_dct: Dict[str, Any], helix_to_dct: Di
66136613
if helix_from_dct["row"] % 2 != helix_to_dct["row"] % 2:
66146614
raise ValueError(f"""\
66156615
Paranemic crossovers are only allowed between helices that have the same parity of
6616-
indices (both even or both odd), but here helix indices {helix_from_dct['num']} and {helix_to_dct['num']}
6617-
have different parity: respectively {helix_from_dct['row']} and {helix_to_dct['row']}""")
6616+
row number, here helix num {helix_from_dct['num']} and helix num {helix_to_dct['num']}
6617+
have different parity of row number: respectively {helix_from_dct['row']} and {helix_to_dct['row']}""")
66186618

66196619
elif not forward_from and not forward_to:
66206620
helix_from_dct[strand_type][start_from][2:] = [helix_to, end_to - 1]
66216621
helix_to_dct[strand_type][end_to - 1][:2] = [helix_from, start_from]
66226622
if helix_from_dct["row"] % 2 != helix_to_dct["row"] % 2:
66236623
raise ValueError(f"""\
66246624
Paranemic crossovers are only allowed between helices that have the same parity of
6625-
indices (both even or both odd), but here helix indices {helix_from_dct['num']} and {helix_to_dct['num']}
6626-
have different parity: respectively {helix_from_dct['row']} and {helix_to_dct['row']}""")
6625+
row number, here helix num {helix_from_dct['num']} and helix num {helix_to_dct['num']}
6626+
have different parity of row number: respectively {helix_from_dct['row']} and {helix_to_dct['row']}""")
66276627

66286628
@staticmethod
66296629
def _cadnano_v2_color_of_stap(color: Color, domain: Domain) -> List[int]:

0 commit comments

Comments
 (0)