Skip to content

Commit

Permalink
Fix distribution inputs for restart
Browse files Browse the repository at this point in the history
  • Loading branch information
jaisw7 committed Sep 19, 2019
1 parent b4fc168 commit 35ca276
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dgfs1D/initialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ def initialize():
# Restart command
ap_restart = sp.add_parser('restart', help='restart --help')
ap_restart.add_argument('inp', type=FileType('r'), help='input file')
ap_restart.add_argument('dist', type=FileType('r'), help='distribution')
ap_restart.add_argument('dist', nargs='+', action='append',
type=FileType('r'), default=[], help='sorted list of distributions')
ap_restart.add_argument('-v', nargs=2, action='append', default=[],
help='substitute variables. Example: -v mesh::Ne 4')
ap_restart.set_defaults(process_restart=True)
Expand Down

0 comments on commit 35ca276

Please sign in to comment.