Ignore:
Timestamp:
Apr 11, 2018, 6:30:10 AM (8 years ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Candidate_v1.6.1, Candidate_v1.7.0, Candidate_v1.7.1, ChemicalSpaceEvaluator, PythonUI_with_named_parameters, TremoloParser_IncreasedPrecision, stable
Children:
cd91bd
Parents:
8819d2
git-author:
Frederik Heber <frederik.heber@…> (09/06/17 12:58:47)
git-committer:
Frederik Heber <frederik.heber@…> (04/11/18 06:30:10)
Message:

Python interface now converts dashes in tokens to underscores, store-session used keyword arguments.

  • MoleCuilder's python functions (i.e. commands) typically have quite a number of arguments and therefore can be easily confused. We circumvent this by using keyword (or named) arguments that are also independent of position. Moreover, in that case only the non-default arguments need to be given.
  • TESTS: Marked failing python tests as XFAIL for the moment.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/Action_impl_pre.hpp

    r8819d2 re7ad08  
    173173    output << \
    174174    BOOST_PP_IF(n, ", ", "") \
     175    << normalizeToken( BOOST_PP_SEQ_ELEM(n, paramtokens) ) \
     176    << "=" \
    175177    << "\"" << params. \
    176178        BOOST_PP_SEQ_ELEM(n, paramreferences) \
    177         .getAsStringUnvalidated() \
    178     << "\"";
     179          .getAsStringUnvalidated() \
     180    << "\""; \
    179181
    180182// print an initialiser list, i.e. "var( token, valid (,default) )(,)"
Note: See TracChangeset for help on using the changeset viewer.