From 5189e8d28c18e39e023b4c16322ed40209d474d5 Mon Sep 17 00:00:00 2001 From: David Doty Date: Thu, 24 Aug 2023 08:05:45 -0700 Subject: [PATCH] Update scadnano.py --- scadnano/scadnano.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scadnano/scadnano.py b/scadnano/scadnano.py index 8bda2ea..c956aaf 100644 --- a/scadnano/scadnano.py +++ b/scadnano/scadnano.py @@ -1783,10 +1783,10 @@ def crossover_addresses(self, :data:`Helix.idx` of the other :any:`Helix` incident to the crossover. """ - def allow_crossover_to(other_helix: Helix) -> bool: - if not allow_intrahelix and other_helix.idx == self.idx: + def allow_crossover_to(helix2: Helix) -> bool: + if not allow_intrahelix and helix2.idx == self.idx: return False - if not allow_intergroup and other_helix.group != self.group: + if not allow_intergroup and helix2.group != self.group: return False return True