Skip to content

Commit

Permalink
try to fix py27 coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
asanin-epfl committed Jul 21, 2020
1 parent 4fcd102 commit d2c389e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bluepysnap/circuit_validation.py
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ def _check_nodes_population(nodes_dict, config):
required_datasets = ['node_type_id']
errors = []
nodes_file = nodes_dict.get('nodes_file')
node_types_file = nodes_dict.get('node_types_file')
node_types_file = nodes_dict.get('node_types_file', None)
with h5py.File(nodes_file, 'r') as h5f:
nodes = _get_h5_data(h5f, 'nodes')
if not nodes or len(nodes) == 0:
Expand Down

0 comments on commit d2c389e

Please sign in to comment.