PathSpawner

class managers.operatorsFiling.pathspawner.PathSpawner

Available methods:

Method name Method type
hatch_path_to_nmodl() static method
hatch_path_to_response() static method

NOTE:

  • hatch_path_to_nmodl returns path/to/the/directory/mod_files and path/to/the/file/libnrnmech.so.0
  • hatch_path_to_response returns path/to/the/directory/responses/<modelscale>/<modelname>
static hatch_path_to_nmodl(modelscale=None, modelname=None)

Hatches path to directory “mod_files” and file libnrnmech.so.0

Keyword Arguments:

Key Value type
model_scale string; egs. “cells”, “microcircuits”, “networks”
model_name string; “XY2000Author”

Returned values:

  • path/to/the/directory/mod_files
  • path/to/the/directory/x86_64/.libs/libnrnmech.so.0

Raised Exceptions: ValueError if modelscale and modelname is empty.

static hatch_path_to_response(modelscale=None, modelname=None)

Hatches path to directory ~/responses/<modelscale>/<modelname>”

Keyword Arguments:

Key Value type
model_scale string; egs. “cells”, “microcircuits”, “networks”
model_name string; “XY2000Author”

Returned values: path/to/the/directory/responses/<modelscale>/<modelname>

Raised Exceptions: ValueError if modelscale and modelname is empty.