Skip to content

Commit

Permalink
Add missing copyright & license text to many unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjc committed Sep 7, 2013
1 parent 730850e commit 8d52315
Show file tree
Hide file tree
Showing 17 changed files with 100 additions and 5 deletions.
7 changes: 7 additions & 0 deletions Tests/test_Ace.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# Copyright 2004 by Frank Kauff. All rights reserved.
# Revisions copyright 2008-2013 by Peter Cock. All rights reserved.
# Revisions copyright 2009-2009 by Michiel de Hoon. All rights reserved.
# This code is part of the Biopython distribution and governed by its
# license. Please see the LICENSE file that should have been included
# as part of this package.

import unittest

from Bio.Sequencing import Ace
Expand Down
5 changes: 5 additions & 0 deletions Tests/test_CodonUsage.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright 2003 by Iddo Friedberg. All rights reserved.
# This code is part of the Biopython distribution and governed by its
# license. Please see the LICENSE file that should have been included
# as part of this package.

from Bio.SeqUtils import CodonUsage
import os
import sys
Expand Down
5 changes: 5 additions & 0 deletions Tests/test_ColorSpiral.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/usr/bin/env python
# Copyright 2013 by Leighton Pritchard. All rights reserved.
# This code is part of the Biopython distribution and governed by its
# license. Please see the LICENSE file that should have been included
# as part of this package.

""" Tests for general functionality of the ColorSpiral utility
"""

Expand Down
5 changes: 5 additions & 0 deletions Tests/test_Compass.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright 2009 by James Casbon. All rights reserved.
# Revisions copyright 2009-2010 by Michiel de Hoon. All rights reserved.
# This code is part of the Biopython distribution and governed by its
# license. Please see the LICENSE file that should have been included
# as part of this package.
"""Tests for parsing Compass output.
"""
import os
Expand Down
7 changes: 7 additions & 0 deletions Tests/test_EmbossPrimer.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
#!/usr/bin/env python
# Copyright 2001 by Brad Chapman. All rights reserved.
# Revisions copyright 2008-2009 by Michiel de Hoon. All rights reserved.
# Revisions copyright 2010-2011 by Peter Cock. All rights reserved.
# This code is part of the Biopython distribution and governed by its
# license. Please see the LICENSE file that should have been included
# as part of this package.

"""Tests for Primer-based programs in the Emboss suite.
"""
# standard library
Expand Down
5 changes: 5 additions & 0 deletions Tests/test_Entrez.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright 2008-2010 by Michiel de Hoon. All rights reserved.
# Revisions copyright 2009-2013 by Peter Cock. All rights reserved.
# This code is part of the Biopython distribution and governed by its
# license. Please see the LICENSE file that should have been included
# as part of this package.
'''Testing code for Bio.Entrez parsers.
'''

Expand Down
5 changes: 5 additions & 0 deletions Tests/test_FSSP.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright 2001 by Iddo Friedberg. All rights reserved.
# This code is part of the Biopython distribution and governed by its
# license. Please see the LICENSE file that should have been included
# as part of this package.

from Bio import FSSP
from Bio.FSSP import FSSPTools
import sys
Expand Down
12 changes: 7 additions & 5 deletions Tests/test_Fasttree_tool.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Copyright 2013 by Nate Sutton. Based on test_Clustalw_tool.py by
# Peter Cock. Example code used from Biopython's Phylo cookbook by
# Eric Talevich. All rights reserved. This code is part of the
# Biopython distribution and governed by its license. Please see
# the LICENSE file that should have been included as part of this package.
# Copyright 2013 by Nate Sutton. All rights reserved.
# Based on test_Clustalw_tool.py by Peter Cock.
# Example code used from Biopython's Phylo cookbook by Eric Talevich.
#
# This code is part of the Biopython distribution and governed by its
# license. Please see the LICENSE file that should have been included
# as part of this package.

from Bio import MissingExternalDependencyError

Expand Down
7 changes: 7 additions & 0 deletions Tests/test_GenBank.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
#!/usr/bin/env python
# Copyright 2001-2004 by Brad Chapman. All rights reserved.
# Revisions copyright 2007-2013 by Peter Cock. All rights reserved.
# Revisions copyright 2013 by Kai Blin. All rights reserved.
# This code is part of the Biopython distribution and governed by its
# license. Please see the LICENSE file that should have been included
# as part of this package.

"""Test the GenBank parser and make sure everything is working smoothly.
"""
# standard library
Expand Down
5 changes: 5 additions & 0 deletions Tests/test_KEGG.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright 2001 by Tarjei Mikkelsen. All rights reserved.
# Revisions copyright 2007 by Michiel de Hoon. All rights reserved.
# This code is part of the Biopython distribution and governed by its
# license. Please see the LICENSE file that should have been included
# as part of this package.
"""Tests the basic functionality of the KEGG parsers.
"""

Expand Down
5 changes: 5 additions & 0 deletions Tests/test_Location.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/usr/bin/env python
# Copyright 2001 by Brad Chapman. All rights reserved.
# Revisions copyright 2011-2013 by Peter Cock. All rights reserved.
# This code is part of the Biopython distribution and governed by its
# license. Please see the LICENSE file that should have been included
# as part of this package.
"""Test the Location code located in SeqFeature.py
This checks to be sure fuzzy and non-fuzzy representations of locations
Expand Down
8 changes: 8 additions & 0 deletions Tests/test_Nexus.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Copyright 2005 by Iddo Friedberg. All rights reserved.
# Revisions copyright 2006-2013 by Peter Cock. All rights reserved.
# Revisions copyright 2008 by Frank Kauff. All rights reserved.
# Revisions copyright 2009 by Michiel de Hoon. All rights reserved.
# This code is part of the Biopython distribution and governed by its
# license. Please see the LICENSE file that should have been included
# as part of this package.

import os.path
import unittest
import tempfile
Expand Down
8 changes: 8 additions & 0 deletions Tests/test_ProtParam.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
# Copyright 2003-2004 by Iddo Friedberg. All rights reserved.
# Revisions copyright 2008-2010 by Peter Cock. All rights reserved.
# Revisions copyright 2012 by Matt Fenwick. All rights reserved.
# Revisions copyright 2012 by Kai Blin. All rights reserved.
# This code is part of the Biopython distribution and governed by its
# license. Please see the LICENSE file that should have been included
# as part of this package.

import unittest
from Bio.SeqUtils import ProtParam, ProtParamData

Expand Down
5 changes: 5 additions & 0 deletions Tests/test_SwissProt.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/usr/bin/env python
# Copyright 2009 by Michiel de Hoon. All rights reserved.
# Revisions copyright 2010 by Peter Cock. All rights reserved.
# This code is part of the Biopython distribution and governed by its
# license. Please see the LICENSE file that should have been included
# as part of this package.
"""Test for the SwissProt parser on SwissProt files.
"""
import os
Expand Down
5 changes: 5 additions & 0 deletions Tests/test_Tutorial.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Copyright 2011-2013 by Peter Cock. All rights reserved.
# This code is part of the Biopython distribution and governed by its
# license. Please see the LICENSE file that should have been included
# as part of this package.

import unittest
import doctest
import os
Expand Down
5 changes: 5 additions & 0 deletions Tests/test_Uniprot.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
#!/usr/bin/env python
# Copyright 2010 by Andrea Pierleoni
# Revisions copyright 2010-2013 by Peter Cock. All rights reserved.
# This code is part of the Biopython distribution and governed by its
# license. Please see the LICENSE file that should have been included
# as part of this package.
"""Test for the Uniprot parser on Uniprot XML files.
"""
import os
Expand Down
6 changes: 6 additions & 0 deletions Tests/test_align.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/usr/bin/env python
# Copyright 2000-2001 by Brad Chapman. All rights reserved.
# Revisions copyright 2007-2003 by Peter Cock. All rights reserved.
# This code is part of the Biopython distribution and governed by its
# license. Please see the LICENSE file that should have been included
# as part of this package.

"""test_align.py
A script to test alignment stuff.
Expand Down

0 comments on commit 8d52315

Please sign in to comment.