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_nmodlreturns path/to/the/directory/mod_files and path/to/the/file/libnrnmech.so.0hatch_path_to_responsereturns 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.0Keyword Arguments:
Key Value type model_scalestring; egs. “cells”, “microcircuits”, “networks” model_namestring; “XY2000Author” Returned values:
path/to/the/directory/mod_filespath/to/the/directory/x86_64/.libs/libnrnmech.so.0
Raised Exceptions:
ValueErrorif 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_scalestring; egs. “cells”, “microcircuits”, “networks” model_namestring; “XY2000Author” Returned values:
path/to/the/directory/responses/<modelscale>/<modelname>Raised Exceptions:
ValueErrorif modelscale and modelname is empty.