Changeset 8d56a6 for doc/userguide


Ignore:
Timestamp:
Jun 21, 2018, 8:31:25 AM (7 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Candidate_v1.6.1, ChemicalSpaceEvaluator
Children:
d83d64, f5ea10
Parents:
3e334e (diff), 4fc0ea (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 'TremoloParser_IncreasedPrecision' into Candidate_v1.6.1

Conflicts:

tests/Python/ForceAnnealing/post/five_carbon_test_bondgraph.data
tests/Python/ForceAnnealing/post/five_carbon_test_no-bondgraph.data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/userguide/userguide.xml

    r3e334e r8d56a6  
    26692669          the python interface described below, i.e. it is a full python script
    26702670          (that however requires the so-called <emphasis role="italic">pyMoleCuilder</emphasis> module).</para>
     2671          <note>The python session will store a file with python commands using named arguments. As some actions have quite
     2672          a number of arguments, all of them end up in a single function call. This makes it very hazard-prone to mix them up.
     2673          Therefore, it is <emphasis>strongly</emphasis> recommended to always use named arguments in python scripts
     2674          when employing MoleCuilder commands.</note>
     2675          <para>When using named arguments for MoleCuilder commands in Python scripts, remember that dashes ("-") in
     2676          argument names have been converted to underscores ("_") as the former characters are illegal. Apart from that
     2677          the argument names resemble exactly the token names as encountered on the command line, e.g.
     2678          <programlisting>
     2679          pyMoleCuilder.CommandVerbose(verbose="1")
     2680          ...
     2681          </programlisting>
     2682          where the keyword argument "verbose" is for the Action that changes MoleCuilder's output verbosity. Also,
     2683          you see that arguments are always given as string.
     2684          </para>
    26712685        </section>
    26722686        <section xml:id="sessions.load-session">
     
    30583072      <para>Therefore, more complex python scripts need to be called with
    30593073      python and a set PYTHONPATH as described above.</para>
     3074          <note>It is <emphasis>strongly</emphasis> recommended to always use named arguments in python scripts
     3075          when employing MoleCuilder commands. As commands tend to have many arguments, it is very easy to mix
     3076          them up as python is not a strongly typed language.</note>
    30603077    </section>
    30613078  </chapter>
Note: See TracChangeset for help on using the changeset viewer.