From 0caadd215e72d633cc8244af82e5c974fdbd2afd Mon Sep 17 00:00:00 2001 From: Shawn Douglas Date: Tue, 14 Dec 2021 09:54:31 -0800 Subject: [PATCH] Bump to 2.4.1 --- cadnano2/model/parts/part.py | 3 +++ setup.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/cadnano2/model/parts/part.py b/cadnano2/model/parts/part.py index 9d5e03b..bdddc55 100755 --- a/cadnano2/model/parts/part.py +++ b/cadnano2/model/parts/part.py @@ -1120,6 +1120,9 @@ def potentialCrossoverList(self, virtualHelix, idx=None): baseRange = [x for x in baseRange if x >= idx - 3 * part._step and \ x <= idx + 2 * part._step] + if vh is None: + return + fromStrandSets = vh.getStrandSets() neighbors = self.getVirtualHelixNeighbors(vh) diff --git a/setup.py b/setup.py index cf9d028..266840a 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name='cadnano2', - version='2.4.0', + version='2.4.1', description='Cadnano2 for PyQt6', url='https://github.com/douglaslab/cadnano2', author='Shawn Douglas',