- Timestamp:
- Jun 21, 2017, 9:52:01 PM (8 years ago)
- Branches:
- Action_Thermostats, Add_AtomRandomPerturbation, Add_SelectAtomByNameAction, Adding_Graph_to_ChangeBondActions, Adding_MD_integration_tests, Adding_StructOpt_integration_tests, AutomationFragmentation_failures, Candidate_v1.6.1, ChangeBugEmailaddress, ChemicalSpaceEvaluator, Docu_Python_wait, EmpiricalPotential_contain_HomologyGraph_documentation, Enhance_userguide, Enhanced_StructuralOptimization, Enhanced_StructuralOptimization_continued, Example_ManyWaysToTranslateAtom, Exclude_Hydrogens_annealWithBondGraph, Fix_Verbose_Codepatterns, ForceAnnealing_oldresults, ForceAnnealing_with_BondGraph, ForceAnnealing_with_BondGraph_continued, ForceAnnealing_with_BondGraph_continued_betteresults, ForceAnnealing_with_BondGraph_contraction-expansion, Gui_displays_atomic_force_velocity, IndependentFragmentGrids_IntegrationTest, JobMarket_RobustOnKillsSegFaults, JobMarket_StableWorkerPool, PythonUI_with_named_parameters, QtGui_reactivate_TimeChanged_changes, Recreated_GuiChecks, StoppableMakroAction, TremoloParser_IncreasedPrecision, TremoloParser_MultipleTimesteps
- Children:
- 78ea3c
- Parents:
- 7294dc
- git-author:
- Frederik Heber <heber@…> (03/23/17 17:11:07)
- git-committer:
- Frederik Heber <frederik.heber@…> (06/21/17 21:52:01)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/userguide/userguide.xml
r7294dc r101d2d 2518 2518 under the command-line interface and look up the function name via 2519 2519 help.</para> 2520 <para>You can freely mix calls to the pymolecuilder module and other python commands.</para> 2521 <note>However, be aware that all Actions are executed in another thread, 2522 i.e. run in parallel. That means that a pymolecuilder command is not 2523 necessarily finished when python steps on to the next line!</note> 2524 <para>In order to make python wait for the Actions to finish before 2525 stepping, there is the special wait() command.</para> 2526 <programlisting> 2527 mol.MoleculeLoad("...") 2528 mol.wait() 2529 </programlisting> 2530 <para>This will continue first after the molecule has been fully loaded. 2531 </para> 2532 <warning>These wait()s will have no effect if the python script is loaded 2533 via the "load-session" command inside a User Interface (command-line, 2534 GUI, ...) as this would cause the queue to wait indefinitely, namely till 2535 the load-session itself would have finished.</warning> 2536 <para>Therefore, more complex python scripts need to be called with 2537 python and a set PYTHONPATH as described above.</para> 2520 2538 </section> 2521 2539 </chapter>
Note:
See TracChangeset
for help on using the changeset viewer.