From 7b08e518ff56bd8a3d8d98cc3243b86759b6350b Mon Sep 17 00:00:00 2001 From: ChrisKent Date: Thu, 5 Sep 2024 11:53:21 +0100 Subject: [PATCH] Fix comments. Enforced uppercase to primerseqs --- primal_page/aliases.py | 2 +- primal_page/bedfiles.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/primal_page/aliases.py b/primal_page/aliases.py index 21e7f5c..14d59d7 100644 --- a/primal_page/aliases.py +++ b/primal_page/aliases.py @@ -54,7 +54,7 @@ def remove( return log.info(f"Removed alias: ([blue]{removed_aliases}[/blue])") - # Write the new info.json file + # Write the new aliases.json file with open(aliases_file, "w") as f: json.dump(aliases, f, sort_keys=True) diff --git a/primal_page/bedfiles.py b/primal_page/bedfiles.py index f34b763..1c5209b 100644 --- a/primal_page/bedfiles.py +++ b/primal_page/bedfiles.py @@ -56,7 +56,7 @@ def __init__( self.primername = primername self.pool = pool self.strand = strand - self.seq = seq + self.seq = seq.upper() # Validate the primername if determine_primername_version(primername) == PrimerNameVersion.INVALID: