From e5572adcc9fb355fa3baefe0997dd9549c4b2aa4 Mon Sep 17 00:00:00 2001 From: David Doty Date: Thu, 28 Mar 2024 09:56:40 -0700 Subject: [PATCH] fixes #297: fix oxView export exception on Loopouts --- scadnano/scadnano.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scadnano/scadnano.py b/scadnano/scadnano.py index db2c903..cb4f9f4 100644 --- a/scadnano/scadnano.py +++ b/scadnano/scadnano.py @@ -9141,8 +9141,7 @@ def _convert_design_to_oxdna_system(design: Design) -> _OxdnaSystem: elif isinstance(domain, Loopout): # we place the loopout nucleotides at temporary nonsense positions and orientations # these will be updated later, for now we just need the base - for _ in range(domain.length): - base = seq[i] + for base in seq: center = _OxdnaVector() normal = _OxdnaVector(0, -1, 0) forward = _OxdnaVector(0, 0, 1)