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

Candidate_v1.7.1 stable v1.7.1
Last change on this file was d2be22, checked in by Frederik Heber <frederik.heber@…>, 10 days ago

Actions relying on BondGraph fail if not bond table is loaded.

  • this is to ensure to not stumble over missing optimal bond lengths from the table, like with StretchBondAction.
  • TESTFIX: All regression tests that use these actions need to load the bond-table now.
  • Property mode set to 100644
File size: 902 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")
[d2be22]25mol.CommandBondLengthTable(bond_table="BONDTABLE")
[a93896]26mol.GraphSubgraphDissection()
27mol.SelectionMoleculeOfAtom()
28mol.FillRegularGrid("3 3 3", "0.5,0.5,0.5", "1", "0", "0", "0", "0")
29mol.CommandVersion()
[b0060a]30print("wait4 begin")
[a93896]31mol.wait()
[415ddd]32i=i+1
[b0060a]33print("wait4 end")
[415ddd]34# =========================== Stored Session END ===========================
Note: See TracBrowser for help on using the repository browser.