Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fixed two typos. Ignoring deprecation warning in test_Motif

  • Loading branch information...
commit d0784bbbfd9d96ec891991d102f6f0f86e89fc52 1 parent d40495c
mdehoon authored
Showing with 7 additions and 2 deletions.
  1. +1 −1  Bio/Motif/__init__.py
  2. +1 −1  DEPRECATED
  3. +5 −0 Tests/test_Motif.py
View
2  Bio/Motif/__init__.py
@@ -15,7 +15,7 @@
import warnings
from Bio import BiopythonDeprecationWarning
-warnings.warn("The module Bio.Motif has been depreacted and will be "
+warnings.warn("The module Bio.Motif has been deprecated and will be "
"removed in a future release of Biopython. Instead "
"please use the new module Bio.motifs instead. Please "
"be aware that though the functionality of Bio.Motif "
View
2  DEPRECATED
@@ -35,7 +35,7 @@ attribute sub_features was deprecated.
Bio.Motif
=========
-Declared obsolete with a PendingDeprecationWarning in Release 1.61, formerly
+Declared obsolete with a PendingDeprecationWarning in Release 1.61, formally
deprecated in Release 1.62. Please use the newer Bio.motifs module instead.
AlignAceCommandline and CompareAceCommandline
View
5 Tests/test_Motif.py
@@ -6,6 +6,11 @@
import os
import unittest
+import warnings
+
+from Bio import BiopythonDeprecationWarning
+warnings.simplefilter('ignore', BiopythonDeprecationWarning)
+
from Bio import Motif
from Bio.Seq import Seq
Please sign in to comment.
Something went wrong with that request. Please try again.