data_base ❭ db_initializers ❭ load_simrun_general ❭ builders ❭ _build_param_files
_build_param_files¶
- data_base.db_initializers.load_simrun_general.builders._build_param_files(db, client)¶
Copy, transform and rename parameterfiles to a db.
This function copies Cell parameters, Network parameters, .syn files, and .con files to the database. In the process, it renames each file to its hash and transforms the internal file references in the parameter files accordingly.
- Parameters:¶
db (
ISFDataBase) – The database to which the parameterfiles should be added.client (
Client) – The Dask client to use for parallel computation.
- Returns:¶
None. Sets the keys
parameterfiles\_cell\_folderandparameterfiles\_network\_folderin the database.
See also
The Cell parameters and Network parameters formats.
Attention
This function assumes the database keys
simresult\_pathandsim\_trial\_indexalready exist, which is likely only true when used in the context of theinit()function.