netpyne.batchtools.runners

Functions:

validate(element, container)

traverse(obj, path[, force_match])

set_map(self, assign_path, value[, force_match])

get_map(self, assign_path[, force_match])

update_items(d, u[, force_match])

Classes:

Runner_SimConfig(*args, **kwargs)

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.Runner_SimConfig(*args, **kwargs)[source]

Bases: Runner, SimConfig

Methods:

update([simConfigDict, force_match])

Updates the SimConfig instance with mappings to the runner, called from a SimConfig instance

test_mappings(mappings)

Tests mappings for validity

update(simConfigDict=None, force_match=False)[source]

Updates the SimConfig instance with mappings to the runner, called from a SimConfig instance

Parameters:
  • instance (self - specs (NetpyneRunner) SimConfig)

  • None) (simConfigDict - optional dictionary to update SimConfig instance (defaults to) –

    • to be called during initial function call only

Return type:

None (updates SimConfig instance in place)

test_mappings(mappings)[source]

Tests mappings for validity

Parameters:

test (mappings - dictionary of mappings to)

Return type:

bool - True if mappings are valid, False otherwise