Skip to content

Commit

Permalink
propogate niter from command line for restarts.
Browse files Browse the repository at this point in the history
  • Loading branch information
bd-j committed Oct 24, 2018
1 parent 3904b2f commit 3270422
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/prospector_restart.py
Expand Up @@ -14,7 +14,7 @@
# Read command line arguments
# --------------
sargv = sys.argv
argdict = {'restart_from': ''}
argdict = {'restart_from': '', 'niter': 1024}
clargs = model_setup.parse_args(sargv, argdict=argdict)

# ----------
Expand All @@ -25,6 +25,7 @@
# SPS Model instance (with libraries check)
sps = pr.get_sps(result)
run_params = result["run_params"]
run_params.update(clargs)

# Noise model (this should be doable via read_results)
from prospect.models.model_setup import import_module_from_string
Expand Down

0 comments on commit 3270422

Please sign in to comment.