Skip to content

Commit b8b5a4e

Browse files
committed
Travis & small fixes
1 parent b1e90fb commit b8b5a4e

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

.travis.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,10 @@ python:
88
# - "nightly"
99
# command to install dependencies
1010
install:
11-
- sudo apt-get install python-numpy
12-
- sudo pip install HTSeq
13-
- sudo python setup.py install
11+
- "virtualenv -p python2 .venv ; source .venv/bin/activate ; apt-get install python-numpy ; pip install HTSeq ; python setup.py install"
1412

1513
script:
16-
- nosetests -v tests/*.py
14+
- "source .venv/bin/activate ; nosetests -v tests/*.py"
1715

1816
notifications:
1917
email: false

Changelog

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
2016-07-11 Youri Hoogstrate
22

3-
* Version 3.0.5: Changes in deployment
3+
* Version 3.0.5: Changes in deployment & two fixes in export function
44

55
2016-07-11 Youri Hoogstrate
66

fuma/ComparisonTriangle.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ def log_progress(self,n_total, passed, previous_percentage):
154154
return n_total, passed, previous_percentage
155155

156156
def export_list_fg(self,fusion,fh):
157-
if(self.args.acceptor_donor_order_specific_matching and fusion.acceptor_donor_direction() == AD_DIRECTION_REVERSE):
157+
if(self.args.acceptor_donor_order_specific_matching and fusion.acceptor_donor_direction == AD_DIRECTION_REVERSE):
158158
## A-B should be reported as B-A; chr1:123\tchr1:456 as chr1:456-chr1:123
159159
fh.write(":".join(sorted(list(set([str(gene) for gene in fusion.get_annotated_genes_right2()])))) + "\t")
160160
fh.write(":".join(sorted(list(set([str(gene) for gene in fusion.get_annotated_genes_left2()])))))
@@ -170,7 +170,7 @@ def export_list_fg(self,fusion,fh):
170170

171171
for location in fusion.locations():
172172
if location['dataset'] == dataset.name:
173-
strdata.append(str(loc['id'])+"=chr"+loc['right'][0]+':'+str(loc['right'][1])+'-chr'+loc['left'][0]+':'+str(loc['left'][1]))
173+
strdata.append(str(location['id'])+"=chr"+location['right'][0]+':'+str(location['right'][1])+'-chr'+location['left'][0]+':'+str(location['left'][1]))
174174

175175
fh.write(",".join(sorted(strdata)))
176176
else:

0 commit comments

Comments
 (0)