Skip to content
Snippets Groups Projects

params/mirrors cleaning + usable test suite (issues #11 and #10)

Merged Boman Romain requested to merge testsuite into master
2 files
+ 72
62
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -62,6 +62,7 @@ def runmodel(**d):
p['nH_1'] = 3
p['nW'] = 25
p['T'] = 70.
p['nogui'] = False
p.update(d)
# builds an instance of the model with given parameters
@@ -75,7 +76,7 @@ def runmodel(**d):
solver = m.Solver(pbl, args.k)
solver.start()
if not args.nogui:
if not args.nogui and not p['nogui']:
from mirrors.viewer import GUI
GUI().open('mirror')
Loading