diff spaninFuncs.py @ 5:46b252c89e9e draft

planemo upload commit 25fff8b3887beeb66c2d53e2a32f9af9f34e40b6
author cpt
date Fri, 20 Sep 2024 04:19:02 +0000
parents fd70980a516b
children
line wrap: on
line diff
--- a/spaninFuncs.py	Fri Jan 05 05:51:06 2024 +0000
+++ b/spaninFuncs.py	Fri Sep 20 04:19:02 2024 +0000
@@ -7,8 +7,6 @@
 
 import re
 from Bio import SeqIO
-from Bio import Seq
-from collections import OrderedDict
 
 # Not written in OOP for a LITTLE bit of trying to keep the complication down in case adjustments are needed by someone else.
 # Much of the manipulation is string based; so it should be straightforward as well as moderately quick
@@ -519,7 +517,9 @@
         # try:
         try:
             lipo += find_lipobox(pair=each_pair, regex=2)  # , minimum=8)
-        except TypeError:  # catches if something doesnt have the min/max requirements (something is too small)
+        except (
+            TypeError
+        ):  # catches if something doesnt have the min/max requirements (something is too small)
             continue
         # except:
         # continue