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