Changeset 78ea3c for doc


Ignore:
Timestamp:
Jun 21, 2017, 10:02:50 PM (8 years ago)
Author:
Frederik Heber <frederik.heber@…>
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, 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:
310445
Parents:
be848d (diff), 101d2d (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'Docu_Python_wait' into Candidate_v1.6.1

Conflicts:

tests/Python/AllActions/options.dat

  • two options introduced at same place, both get in.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/userguide/userguide.xml

    rbe848d r78ea3c  
    11771177        <link linkend='geometry'>Geometry</link>.</para>
    11781178        </section>
     1179        <section xml:id="molecule.rotate-around-bond">
     1180          <title xml:id="molecule.rotate-around-bond.title">Rotate around bond </title>
     1181          <para>This rotates parts of a molecule around a given bond, i.e. the
     1182          bond vector becomes the rotation axis but only atoms on the side of
     1183          second atom get rotated. This naturally does not work for bonds in a
     1184          cycle.</para>
     1185          <programlisting>
     1186  ... --rotate-around-bond &quot;90&quot; \
     1187      --bond-side 0\
     1188   </programlisting>
     1189        </section>
    11791190        <section xml:id="molecule.rotate-around-self">
    11801191          <title xml:id="molecule.rotate-around-self.title">Rotate around self </title>
     
    26582669      under the command-line interface and look up the function name via
    26592670      help.</para>
     2671      <para>You can freely mix calls to the pymolecuilder module and other python commands.</para>
     2672      <note>However, be aware that all Actions are executed in another thread,
     2673      i.e. run in parallel. That means that a pymolecuilder command is not
     2674      necessarily finished when python steps on to the next line!</note>
     2675      <para>In order to make python wait for the Actions to finish before
     2676      stepping, there is the special wait() command.</para>
     2677      <programlisting>
     2678         mol.MoleculeLoad("...")
     2679         mol.wait()
     2680      </programlisting>
     2681      <para>This will continue first after the molecule has been fully loaded.
     2682      </para>
     2683      <warning>These wait()s will have no effect if the python script is loaded
     2684      via the "load-session" command inside a User Interface (command-line,
     2685      GUI, ...) as this would cause the queue to wait indefinitely, namely till
     2686      the load-session itself would have finished.</warning>
     2687      <para>Therefore, more complex python scripts need to be called with
     2688      python and a set PYTHONPATH as described above.</para>
    26602689    </section>
    26612690  </chapter>
Note: See TracChangeset for help on using the changeset viewer.