Skip to content

Commit

Permalink
Final edits: docstrings and warning text
Browse files Browse the repository at this point in the history
  • Loading branch information
lcjohnso committed Nov 7, 2017
1 parent 7c17b2d commit 6e02d2d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions beast/physicsmodel/prior_weights_dust.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,9 @@ def _exponential(x, a=2.0, N=1.):
x: vector
x values
a: float
Single parameter in exp: a*e^-ax
N: floats
Decay Rate parameter in exp: N*e^-ax
Distribution Mean = 1/a
N: float
Multiplicative factor
Returns
-------
Expand Down
2 changes: 1 addition & 1 deletion beast/tools/verify_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def check_grid(param, param_name, param_lim, noexit=False):

if (param_max-param_min) < param_step:
if param_max-param_min == 0.:
print('Warning: '+param_name+' grid is single-valued.')
print('Note: '+param_name+' grid is single-valued.')
else:
print((param_name + ' step value greater than (max-min)'))
if not noexit: exit()
Expand Down

0 comments on commit 6e02d2d

Please sign in to comment.