Skip to content
Snippets Groups Projects
Commit 7acb349a authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

rm parse_commandline from ex/varia/Depthprobe (#1123)

parent 21013072
No related branches found
No related tags found
1 merge request!2911rm parse_commandline from public script examples (#1123)
......@@ -37,7 +37,7 @@ def run_example(flags=0):
sample = get_sample()
simulation = get_simulation(sample, flags)
result = simulation.simulate()
plotargs = bp.parse_commandline()
plotargs = {}
plotargs['aspect'] = 'auto'
plotargs['intensity_min'] = 1e-12
plotargs['intensity_max'] = 1e2
......
......@@ -37,7 +37,11 @@ def run_example(flags=0):
sample = get_sample()
simulation = get_simulation(sample, flags)
result = simulation.simulate()
<%- if test_mode or figure_mode -%>
plotargs = bp.parse_commandline()
<%- else -%>
plotargs = {}
<%- end -%>
plotargs['aspect'] = 'auto'
plotargs['intensity_min'] = 1e-12
plotargs['intensity_max'] = 1e2
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment