netpyne.batchtools.runners module

netpyne.batchtools.runners.validate(element, container)[source]
netpyne.batchtools.runners.traverse(obj, path, force_match=False)[source]
netpyne.batchtools.runners.set_map(self, assign_path, value, force_match=False)[source]
netpyne.batchtools.runners.get_map(self, assign_path, force_match=False)[source]
netpyne.batchtools.runners.update_items(d, u, force_match=False)[source]
class netpyne.batchtools.runners.NetpyneRunner(inherit=None, **kwargs)[source]

Bases: Runner

runner for netpyne see class runner mappings <-

netpyne.batchtools.runners.test_list = {'dict_of_dicts': {0: {'a': 0, 'b': 1, 'c': 2}, 1: {'d': 3, 'e': 4, 'f': 5}, 2: {'g': 6, 'h': 7, 'i': 8}}, 'dict_of_lists': {'a': [0, 1, 2], 'b': [3, 4, 5], 'c': [6, 7, 8]}, 'lists_of_dicts': [{'a': 0, 'b': 1, 'c': 2}, {'d': 3, 'e': 4, 'f': 5}, {'g': 6, 'h': 7, 'i': 8}]}

Test statements In [3]: set_map(test_list, ‘lists_of_dicts.0.a’, ‘a’, force_match = True) In [4]: set_map(test_list, ‘lists_of_dicts.0.a’, 0, force_match = True) In [5]: set_map(test_list, ‘lists_of_dicts.0.d’, 0, force_match = True)