Skip to content

Commit

Permalink
1.0.2 update version and test hashes
Browse files Browse the repository at this point in the history
update version number and test hashes that include version number written to output file.
  • Loading branch information
genomematt committed Jul 5, 2019
1 parent 78083fa commit 4996bfe
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 16 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: python
matrix:
include:
- python: "3.3"
- python: "3.4"
- python: "3.5"
- python: "3.6"
Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

setup(
name='XenoMapper',
version='1.0.1',
version='1.0.2',
author='Matthew Wakefield',
author_email='matthew.wakefield@unimelb.edu.au',
packages=['xenomapper'],
Expand All @@ -36,6 +36,8 @@
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Intended Audience :: Science/Research',
Expand Down
4 changes: 2 additions & 2 deletions xenomapper/mappability.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
from xenomapper.xenomapper import get_sam_header

__author__ = "Matthew Wakefield"
__copyright__ = "Copyright 2011-2016 Matthew Wakefield, The Walter and Eliza Hall Institute and The University of Melbourne"
__copyright__ = "Copyright 2011-2019 Matthew Wakefield, The Walter and Eliza Hall Institute and The University of Melbourne"
__credits__ = ["Matthew Wakefield",]
__license__ = "GPLv3"
__version__ = "1.0.1"
__version__ = "1.0.2"
__maintainer__ = "Matthew Wakefield"
__email__ = "wakefield@wehi.edu.au"
__status__ = "Development"
Expand Down
6 changes: 3 additions & 3 deletions xenomapper/tests/test_all.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,18 @@
test_xenomapper.py
Created by Matthew Wakefield on 2012-08-16.
Copyright (c) 2011-2016 Matthew Wakefield, The Walter and Eliza Hall Institute and The University of Melbourne. All rights reserved.
Copyright (c) 2011-2019 Matthew Wakefield, The Walter and Eliza Hall Institute and The University of Melbourne. All rights reserved.
"""

import unittest
from xenomapper.tests.test_xenomapper import *
from xenomapper.tests.test_mappability import *

__author__ = "Matthew Wakefield"
__copyright__ = "Copyright 2011-2016 Matthew Wakefield, The Walter and Eliza Hall Institute and The University of Melbourne"
__copyright__ = "Copyright 2011-2019 Matthew Wakefield, The Walter and Eliza Hall Institute and The University of Melbourne"
__credits__ = ["Matthew Wakefield",]
__license__ = "GPLv3"
__version__ = "1.0.1"
__version__ = "1.0.2"
__maintainer__ = "Matthew Wakefield"
__email__ = "wakefield@wehi.edu.au"
__status__ = "Release/Stable"
Expand Down
4 changes: 2 additions & 2 deletions xenomapper/tests/test_mappability.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@


__author__ = "Matthew Wakefield"
__copyright__ = "Copyright 2011-2016 Matthew Wakefield, The Walter and Eliza Hall Institute and The University of Melbourne"
__copyright__ = "Copyright 2011-2019 Matthew Wakefield, The Walter and Eliza Hall Institute and The University of Melbourne"
__credits__ = ["Matthew Wakefield",]
__license__ = "GPLv3"
__version__ = "1.0.1"
__version__ = "1.0.2"
__maintainer__ = "Matthew Wakefield"
__email__ = "wakefield@wehi.edu.au"
__status__ = "Development/Beta"
Expand Down
10 changes: 5 additions & 5 deletions xenomapper/tests/test_xenomapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@
from pkg_resources import resource_stream

__author__ = "Matthew Wakefield"
__copyright__ = "Copyright 2011-2016 Matthew Wakefield, The Walter and Eliza Hall Institute and The University of Melbourne"
__copyright__ = "Copyright 2011-2019 Matthew Wakefield, The Walter and Eliza Hall Institute and The University of Melbourne"
__credits__ = ["Matthew Wakefield",]
__license__ = "GPLv3"
__version__ = "1.0.1"
__version__ = "1.0.2"
__maintainer__ = "Matthew Wakefield"
__email__ = "wakefield@wehi.edu.au"
__status__ = "Production/Stable"
Expand Down Expand Up @@ -90,7 +90,7 @@ def test_consistent_output_SE(self):
len(test_unassigned_outfile.getvalue().split('\n'))-4) #26 lines of header in this file
self.assertEqual(cat_counts['unassigned'],
len(test_unassigned_outfile.getvalue().split('\n'))-4) #26 lines of header in this file
self.assertEqual(hashlib.sha224(test_primary_specific_outfile.getvalue().encode('latin-1')).hexdigest(),'24107f7addcbfde7180e57965734e0e99481286f3b99e97d815613fb')
self.assertEqual(hashlib.sha224(test_primary_specific_outfile.getvalue().encode('latin-1')).hexdigest(),'381325b12dd9a9cd3afdd72eeb16b23cc92ddd16f675bb21bb21e08e')
sam1.close()
sam2.close()
pass
Expand Down Expand Up @@ -122,7 +122,7 @@ def test_consistent_output_PE(self):
self.assertEqual(sum([cat_counts[x] for x in cat_counts if 'secondary_multi' in x \
and not 'primary_multi' in x and not 'primary_specific' in x and not 'secondary_specific' in x])*2,
len(test_secondary_multi_outfile.getvalue().split('\n'))-1)
self.assertEqual(hashlib.sha224(test_primary_specific_outfile.getvalue().encode('latin-1')).hexdigest(),'85b2499215d91e8ef8115e81bbe745c6095772340bdd548a2bbc7d09')
self.assertEqual(hashlib.sha224(test_primary_specific_outfile.getvalue().encode('latin-1')).hexdigest(),'64c0e24bf141c5aa3bb0993c73b34cdfe630a504ac424843f746918d')
sam1.close()
sam2.close()
pass
Expand Down Expand Up @@ -155,7 +155,7 @@ def test_consistent_output_conservative_PE(self):
len(test_secondary_specific_outfile.getvalue().split('\n'))-27) #26 lines of header in this file
self.assertEqual(cat_counts[('unassigned', 'unassigned')]*2, len(test_unassigned_outfile.getvalue().split('\n'))-1)

self.assertEqual(hashlib.sha224(test_primary_specific_outfile.getvalue().encode('latin-1')).hexdigest(),'5c201ba8ef87f20a11d14fbdbf091c2d7c45267707227122c77ffd26')
self.assertEqual(hashlib.sha224(test_primary_specific_outfile.getvalue().encode('latin-1')).hexdigest(),'c4de3de755092c8f9ff1eb2cd360a502d74ebd4c1e65ed282515ed3e')
sam1.close()
sam2.close()
pass
Expand Down
4 changes: 2 additions & 2 deletions xenomapper/xenomapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
from copy import copy

__author__ = "Matthew Wakefield"
__copyright__ = "Copyright 2011-2016 Matthew Wakefield, The Walter and Eliza Hall Institute and The University of Melbourne"
__copyright__ = "Copyright 2011-2019 Matthew Wakefield, The Walter and Eliza Hall Institute and The University of Melbourne"
__credits__ = ["Matthew Wakefield",]
__license__ = "GPL"
__version__ = "1.0.1"
__version__ = "1.0.2"
__maintainer__ = "Matthew Wakefield"
__email__ = "wakefield@wehi.edu.au"
__status__ = "Production/Stable"
Expand Down

0 comments on commit 4996bfe

Please sign in to comment.