netpyne.batchtools.runners

Functions:

validate(element, container)

update_items(d, u[, force_match])

Classes:

Runner_SimConfig(*args, **kwargs)

netpyne.batchtools.runners.validate(element, container)[source]
netpyne.batchtools.runners.update_items(d, u, force_match=False)[source]
class netpyne.batchtools.runners.Runner_SimConfig(*args, **kwargs)[source]

Bases: 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

save(filename)

Saves the SimConfig instance to a file

get_mappings()

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

save(filename)[source]

Saves the SimConfig instance to a file

Parameters:
  • string (filename -)

  • to (name of the file to save)

Return type:

None

get_mappings()[source]