Skip to content

--water_entropy CLI argument ignored when matching default value #114

@harryswift01

Description

@harryswift01

When using argparse.parse_known_args() and merging CLI args with YAML config, boolean arguments like --water_entropy are ignored if their value matches the default (True). This causes YAML overrides (e.g. water_entropy: False) to be skipped unintentionally.

Cause:

  • The logic assumes that if args.water_entropy == default, then the CLI didn’t override it, but this fails when the CLI did pass --water_entropy True.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions