Ignore:
Timestamp:
Dec 26, 2025, 9:40:14 PM (3 days ago)
Author:
Frederik Heber <frederik.heber@…>
Branches:
Candidate_v1.7.1, stable
Children:
f2d5ce
Parents:
f0234e
git-author:
Frederik Heber <frederik.heber@…> (11/25/25 08:07:46)
git-committer:
Frederik Heber <frederik.heber@…> (12/26/25 21:40:14)
Message:

FIX: GeneratePotentials action also accepts empty potential list.

  • this fixes the guicheck test on a stored session where the potential-list parameter would be set from the python action but empty.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Actions/PotentialAction/GeneratePotentialsAction.def

    rf0234e rbdd1d0  
    1919#define paramtokens ("fragment-charges")("potential-list")
    2020#define paramdescriptions ("charges specifying the fragment")("list of potentials to generate or empty for all")
    21 #define paramdefaults (NOPARAM_DEFAULT)(NOPARAM_DEFAULT)
     21#define paramdefaults (NOPARAM_DEFAULT)(PARAM_DEFAULT(std::vector<std::string>()))
    2222#define paramreferences (fragment)(potential_list)
    2323#define paramvalids \
Note: See TracChangeset for help on using the changeset viewer.