Skip to content

Commit 893210e

Browse files
committed
minor formatting to fix doc building errors
1 parent 5cc2fa6 commit 893210e

File tree

2 files changed

+7
-9
lines changed

2 files changed

+7
-9
lines changed

doc/source/user_documentation.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1408,9 +1408,7 @@ Example:
14081408
14091409
.. code-block:: python
14101410
1411-
: $Id: MyExp2SynBB.mod,v 1.4 2010/12/13 21:27:51 samn Exp $
14121411
NEURON {
1413-
: THREADSAFE
14141412
POINT_PROCESS MyExp2SynBB
14151413
RANGE tau1, tau2, e, i, g, Vwt, gmax
14161414
NONSPECIFIC_CURRENT i

netpyne/batchtools/search.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -360,14 +360,14 @@ def generate_constructors(job_type, comm_type, **kwargs):
360360

361361
def generate_parameters(params, algorithm, **kwargs):
362362
"""
363-
returns a dictionary of parameters for ray_search based on the input dictionary
364-
from NOTES Salvador:
365-
params = {'synMechTau2': [3.0, 5.0, 7.0], # assumes list of values by default if grid search-like algo
366-
#'synMechTau2': [3.0, 7.0], # assumes lower/upper bounds by default if evol-like algo
367-
'connWeight' : paramtypes.sample_from(lambda _: numpy.random.uniform(0.005, 0.15))} # can optionally pass any of the paramtypes (= ray.tune data types)
368-
369-
#TODO: check coverage of conditional statements (looks okay?)
363+
Returns a dictionary of parameters for ray_search based on the input dictionary from:
364+
params = {
365+
'synMechTau2': [3.0, 5.0, 7.0], # assumes list of values by default if grid search-like algo
366+
#'synMechTau2': [3.0, 7.0], # assumes lower/upper bounds by default if evol-like algo
367+
'connWeight' : paramtypes.sample_from(lambda _: numpy.random.uniform(0.005, 0.15))
368+
} # can optionally pass any of the paramtypes (= ray.tune data types)
370369
"""
370+
#TODO: check coverage of conditional statements (looks okay?)
371371
ray_params = {}
372372
_expected_trials_per_sample = 1
373373
for param, space in params.items():

0 commit comments

Comments
 (0)