Skip to content

Commit

Permalink
fix #169
Browse files Browse the repository at this point in the history
  • Loading branch information
cokelaer committed Jul 7, 2017
1 parent 5a485f8 commit 7aea7e0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
7 changes: 7 additions & 0 deletions doc/ChangeLog.rst
Expand Up @@ -3,6 +3,13 @@ ChangeLog

.. contents::

Version 0.20.1
-------------------

- BUGS:

- fix https://github.com/CancerRxGene/gdsctools/issues/169

Version 0.20.0
-------------------

Expand Down
2 changes: 1 addition & 1 deletion gdsctools/omnibem.py
Expand Up @@ -186,7 +186,7 @@ def filter_by_gene_list(self, genes, minimum_gene=3):

# keep only gene in the selection
self.unified = self.unified.query("GENE in @self.selection.index")
#self._update_unified()
self._update_unified()

def filter_by_tissue_list(self, tissue_list):
"""Filter the data by tissue
Expand Down
3 changes: 2 additions & 1 deletion test/gdsctools/test_omnibem.py
Expand Up @@ -10,7 +10,8 @@ def test_omnibem():
assert len(ob) == 56943
ob.filter_by_gene_list(omnibem_genes)
mobem = ob.get_mobem()
assert mobem[mobem.columns[3:]].sum().sum() == 54061
#assert mobem[mobem.columns[3:]].sum().sum() == 54061
assert mobem[mobem.columns[3:]].sum().sum() == 4943

#
ob.plot_number_alteration_by_tissue()
Expand Down

0 comments on commit 7aea7e0

Please sign in to comment.