Skip to content

Commit a4db3f4

Browse files
committed
update
1 parent 1206dac commit a4db3f4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Exec/science/xrb_spherical/analysis/front_tracker.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ def track_flame_front(ds, metric):
7373
# isrt = np.argsort(ray["t"])
7474

7575
# Do the tracking
76-
if any(ray[metric.field) == max_val):
76+
if any(ray[metric.field] == max_val):
7777
max_theta_loc = theta
7878

7979
# Consider zones that are larger than minimum value
@@ -116,7 +116,7 @@ def process_dataset(fname, metric):
116116
This file tracks the flame front and writes them into a txt file.
117117
""")
118118

119-
parser.add_argument('--fnames', nargs='+', type=str,
119+
parser.add_argument('fnames', nargs='+', type=str,
120120
help="Dataset file names for tracking flame front.")
121121
parser.add_argument('--field', '-f', default="enuc", type=str,
122122
metavar="{enuc, Temp}",

Exec/science/xrb_spherical/analysis/slice.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ def slice(fnames:List[str], fields:List[str],
151151
it plots multiple slice plots.
152152
""")
153153

154-
parser.add_argument('--fnames', nargs='+', type=str,
154+
parser.add_argument('fnames', nargs='+', type=str,
155155
help="""dataset file names for plotting. Accepts one or more datasets.
156156
If multiple file names are given, a grid of slice plots of different
157157
files will be plotted for a given field parameter.

0 commit comments

Comments
 (0)