Skip to content

Commit

Permalink
change unit test expected.cp to expected.cpickle so that github doesn…
Browse files Browse the repository at this point in the history
…t think we have component pascal code in our repo
  • Loading branch information
dpark01 committed Mar 19, 2015
1 parent 8e0bba9 commit 536b377
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions test/unit/test_tools_vphaser2.py
Expand Up @@ -15,7 +15,7 @@ def test_vphaser2(self) :
vphaser_main(inBam, outTab, numThreads = 8)
with open(outTab, 'rt') as outf :
recs = map(lambda s : s.strip('\n').split('\t'), outf.readlines())
with open(os.path.join(myInputDir, 'expected.cp'), 'rb') as expf :
with open(os.path.join(myInputDir, 'expected.cpickle'), 'rb') as expf :
expectedRecs = pickle.load(expf)
# Vphaser2 p-val calculation is unstable and sometimes varies from
# run to run, so exclude it from comparison.
Expand All @@ -34,7 +34,7 @@ def test_vphaser2(self) :
cat c1.sam c2.sam >new.sam
samtools view -bh new.sam >new.bam
Creation of expected.cp:
Creation of expected.cpickle:
cPickle.dump(list(Vphaser2Tool().iterate(inBam, numThreads = 8)),
open('expected.cp', 'w'))
open('expected.cpickle', 'w'))
"""

0 comments on commit 536b377

Please sign in to comment.