diff --git a/src/pypath/__version__ b/src/pypath/__version__ index a602fc9e2..b0bb87854 100644 --- a/src/pypath/__version__ +++ b/src/pypath/__version__ @@ -1 +1 @@ -0.9.4 +0.9.5 diff --git a/src/pypath/network.py b/src/pypath/network.py index 527dfa618..779ab553a 100644 --- a/src/pypath/network.py +++ b/src/pypath/network.py @@ -655,6 +655,7 @@ def load_resource( self._add_edge_list(only_directions = only_directions) self.organisms_check() + self.remove_zero_degree() self._log( 'Completed: loading network data from ' @@ -1903,6 +1904,7 @@ def organisms_check( if ( ( remove_mismatches and + not node.entity_type == 'complex' and not reflists.check( name = node.identifier, id_type = node.id_type,