You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: config/user/network_connectivity.py
+27-1Lines changed: 27 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,34 @@
1
+
# In Silico Framework
2
+
# Copyright (C) 2025 Max Planck Institute for Neurobiology of Behavior - CAESAR
3
+
#
4
+
# Licensed under the Apache License, Version 2.0 (the "License");
5
+
# you may not use this file except in compliance with the License.
6
+
# You may obtain a copy of the License at
7
+
#
8
+
# http://www.apache.org/licenses/LICENSE-2.0
9
+
#
10
+
# Unless required by applicable law or agreed to in writing, software
11
+
# distributed under the License is distributed on an "AS IS" BASIS,
12
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+
# See the License for the specific language governing permissions and
14
+
# limitations under the License.
15
+
"""
16
+
Configure the default values for synapse mapping and network connectivity workflows in ISF.
1
17
18
+
This module allows the user to configure default settings for synapse mapping in ISF.
19
+
20
+
In particular, it allows:
21
+
22
+
- Setting a default synapse mapping strategy
23
+
- Setting default paths for data sources for this synapse mapping strategy
24
+
25
+
We generally recommend to always explicitly pass both the synapse mapping strategy and the data sources, as it makes the code more explicit. Relying too much on these default values can have the undesirable side effect that the same code may yield different results, when these values are changed.
26
+
"""
2
27
frompathlibimportPath
3
28
from .. importAVAILABLE_SYNAPSE_MAPPING_METHODS
4
29
5
30
SELECTED_SYNAPSE_MAPPING_METHOD="udvary2022"
31
+
"""Which synapse mapping workflow to use for calculating synapse positions on the morphology. Default is :mod:`~singlecell_input_mapper.udvary2022`"""
Copy file name to clipboardExpand all lines: docs/installation.rst
+9-3Lines changed: 9 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -125,9 +125,14 @@ Each ISF environment adapts the following environment variables:
125
125
126
126
Configuration
127
127
-------------
128
+
The :mod:`config` module allows the user to configure many aspects of ISF, such as:
128
129
129
-
ISF works best with a dask server for parallel computing. We provide default scripts to launch a dask server and workers
130
-
that should work on most systems.
130
+
- The default file format for saving objects in a :mod:`data_base` (see :mod:`config`)
131
+
- Which file locking method to use (see :mod:`config.file_locking`)
132
+
- User-specific configuration for your project, such as morphology label names, cell type definitions, synapse mapping strategies, and default values for activity data (see :mod:`config.user`)
133
+
134
+
ISF works best with a dask server for parallel computing, and all compute-intensive workflows in ISF work with a client for distributed computing.
135
+
We provide default scripts to launch a dask server and workers that should work on most systems:
131
136
132
137
.. code-block:: bash
133
138
@@ -140,6 +145,7 @@ that should work on most systems.
140
145
For High-Performance Computing (HPC), you may want to launch the dask server with custom configuration instead of these default scripts.
141
146
The underlying commands for these shortcuts are configured in the ``pyproject.toml`` file.
142
147
148
+
143
149
Usage
144
150
-----
145
151
@@ -171,4 +177,4 @@ To test if all components of ISF are working as intended, you can run the test s
171
177
172
178
.. container:: doc-feedback
173
179
174
-
Documentation unclear, incomplete, broken or wrong? `Let us know <https://github.com/mpinb/in_silico_framework/issues/new?template=documentation.md&labels=docs>`_
180
+
Documentation unclear, incomplete, broken or wrong? `Let us know <https://github.com/mpinb/in_silico_framework/issues/new?template=documentation.md&labels=docs>`_
0 commit comments