data_basedb_initializersload_simrun_generalbuilders_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\_folder and parameterfiles\_network\_folder in the database.

See also

The Cell parameters and Network parameters formats.

Attention

This function assumes the database keys simresult\_path and sim\_trial\_index already exist, which is likely only true when used in the context of the init() function.