From a220c32d338bf35f199a5ddca16950438efc98be Mon Sep 17 00:00:00 2001 From: David Doty Date: Thu, 28 Mar 2024 14:40:34 -0700 Subject: [PATCH] Update scadnano.py --- scadnano/scadnano.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scadnano/scadnano.py b/scadnano/scadnano.py index 433323d..3b2c531 100644 --- a/scadnano/scadnano.py +++ b/scadnano/scadnano.py @@ -7840,8 +7840,8 @@ def to_oxview_format(self, warn_duplicate_strand_names: bool = True, for d1, d2 in zip(d1range, d2range): if ((sc_strand1.dna_sequence is not None) and (sc_strand2.dna_sequence is not None) and - (sc_strand1.dna_sequence[d1] != "?") and - (sc_strand2.dna_sequence[d2] != "?") and + (sc_strand1.dna_sequence[d1] != DNA_base_wildcard) and + (sc_strand2.dna_sequence[d2] != DNA_base_wildcard) and (wc(sc_strand1.dna_sequence[d1]) != sc_strand2.dna_sequence[d2])): continue