Ignore:
Timestamp:
Dec 26, 2025, 9:40:14 PM (2 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.cpp

    rf0234e rbdd1d0  
    8484  // gather list of potential candidates
    8585  std::vector<std::string> potentials;
    86   if (!params.potential_list.isSet()) {
     86  if ((!params.potential_list.isSet()) || (params.potential_list.get().empty())) {
    8787    for (unsigned int i=0; i<PotentialTypesMax; ++i)
    8888      potentials.push_back(PotentialFactory::getNameForType((enum PotentialTypes)i));
Note: See TracChangeset for help on using the changeset viewer.