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
RevLine 
[b0060a]1from __future__ import print_function
2from builtins import str
3
[a93896]4import pyMoleCuilder as mol
[415ddd]5# ========================== Stored Session BEGIN ==========================
6i=1
[b0060a]7print("wait1 begin")
[a93896]8mol.wait()
[415ddd]9i=2
[b0060a]10print("wait1 end")
[a93896]11mol.CommandVerbose(str(i))
12mol.ParserSetOutputFormats("mpqc tremolo")
[b0060a]13print("wait2 begin")
[a93896]14mol.wait()
[415ddd]15i=i+1
[b0060a]16print("wait2 end")
[a93896]17mol.CommandSetRandomNumbersDistribution("uniform_int", "p=1;")
18mol.WorldChangeBox("20,0,0,20,0,20")
19mol.AtomAdd("1", "1,1,1")
20mol.SelectionAtomById("0 0")
[b0060a]21print("wait3 begin")
[a93896]22mol.wait()
[415ddd]23i=i+1
[b0060a]24print("wait3 end")
[a93896]25mol.GraphSubgraphDissection()
26mol.SelectionMoleculeOfAtom()
27mol.FillRegularGrid("3 3 3", "0.5,0.5,0.5", "1", "0", "0", "0", "0")
28mol.CommandVersion()
[b0060a]29print("wait4 begin")
[a93896]30mol.wait()
[415ddd]31i=i+1
[b0060a]32print("wait4 end")
[415ddd]33# =========================== Stored Session END ===========================
Note: See TracBrowser for help on using the repository browser.