We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9dd8f6 commit 140d57cCopy full SHA for 140d57c
1 file changed
src/somd2/config/_config.py
@@ -688,6 +688,11 @@ def as_dict(self, sire_compatible=False):
688
if value is None and sire_compatible:
689
d[attr_l] = False
690
691
+ # Don't include lambda_schedule_name or perturbed_system_file in the dictionary,
692
+ # since these are just helper attributes.
693
+ d.pop("_lambda_schedule_name", None)
694
+ d.pop("_perturbed_system_file", None)
695
+
696
# Handle the lambda schedule separately so that we can use simplified
697
# keyword options.
698
@@ -716,7 +721,6 @@ def as_dict(self, sire_compatible=False):
716
721
and self._perturbed_system_file is not None
717
722
):
718
723
d["perturbed_system"] = str(self._perturbed_system_file)
719
- d.pop("perturbed_system_file", None)
720
724
725
return d
726
0 commit comments