source: tests/regression/Options/Session/pre/complexwait.py@ a93896

Candidate_v1.7.0 stable
Last change on this file since a93896 was a93896, checked in by Frederik Heber <frederik.heber@…>, 8 weeks ago

Ignores pyMoleCuilder import in python script.

  • TEST: LoadSession now uses an AS alias for the import.
  • TESTFIX: load session with complex waits does not look for the wait texts but rather for output from the actions in the script.
  • Property mode set to 100644
File size: 851 bytes
Line 
1from __future__ import print_function
2from builtins import str
3
4import pyMoleCuilder as mol
5# ========================== Stored Session BEGIN ==========================
6i=1
7print("wait1 begin")
8mol.wait()
9i=2
10print("wait1 end")
11mol.CommandVerbose(str(i))
12mol.ParserSetOutputFormats("mpqc tremolo")
13print("wait2 begin")
14mol.wait()
15i=i+1
16print("wait2 end")
17mol.CommandSetRandomNumbersDistribution("uniform_int", "p=1;")
18mol.WorldChangeBox("20,0,0,20,0,20")
19mol.AtomAdd("1", "1,1,1")
20mol.SelectionAtomById("0 0")
21print("wait3 begin")
22mol.wait()
23i=i+1
24print("wait3 end")
25mol.GraphSubgraphDissection()
26mol.SelectionMoleculeOfAtom()
27mol.FillRegularGrid("3 3 3", "0.5,0.5,0.5", "1", "0", "0", "0", "0")
28mol.CommandVersion()
29print("wait4 begin")
30mol.wait()
31i=i+1
32print("wait4 end")
33# =========================== Stored Session END ===========================
Note: See TracBrowser for help on using the repository browser.