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

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

parent c6f5509b
No related branches found
No related tags found
1 merge request!2911rm parse_commandline from public script examples (#1123)
......@@ -56,7 +56,7 @@ if __name__ == '__main__':
sample = get_sample()
simulation = get_simulation(sample)
result = simulation.simulate()
plotargs = bp.parse_commandline()
plotargs = {}
plotargs['aspect'] = 'auto'
plotargs['intensity_min'] = 1e-200
plotargs['intensity_max'] = 1
......
......@@ -56,7 +56,11 @@ if __name__ == '__main__':
sample = get_sample()
simulation = get_simulation(sample)
result = simulation.simulate()
<%- if test_mode or figure_mode -%>
plotargs = bp.parse_commandline()
<%- else -%>
plotargs = {}
<%- end -%>
plotargs['aspect'] = 'auto'
plotargs['intensity_min'] = 1e-200
plotargs['intensity_max'] = 1
......
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