Skip to content
Snippets Groups Projects
Commit 3c6a08d7 authored by Markus Frank's avatar Markus Frank Committed by MarkusFrankATcernch
Browse files

Allow to set ambient temperature and pressure for all materials. With...

Allow to set ambient temperature and pressure for all materials. With examples/ClientTests/compact/Check_Air.xml -- scripts/Check_Air.py
parent fbb401d0
No related branches found
No related tags found
No related merge requests found
......@@ -42,8 +42,8 @@ def run():
# Configure UI
geant4 = DDG4.Geant4(kernel, tracker='Geant4TrackerCombineAction')
if batch:
ui = geant4.setupCshUI(ui=None, vis=None)
kernel.UI = 'UI'
ui = geant4.setupCshUI(typ=None, ui=None, vis=None)
kernel.UI = ui.name
else:
ui = geant4.setupCshUI(vis=vis)
kernel.loadGeometry(geo)
......
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