Skip to content

Commit

Permalink
fix: fix dtype of keywords_high_multiplicity (#1582)
Browse files Browse the repository at this point in the history
which should have the same `dtype` as `keywords`.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Improvements**
- Enhanced flexibility in configuration by allowing
`keywords_high_multiplicity` to accept both strings and lists of
strings.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
  • Loading branch information
njzjz authored Jul 13, 2024
1 parent 30bc1e5 commit 5044565
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dpgen/generator/arginfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ def fp_style_gaussian_args() -> list[Argument]:
Argument("basis_set", str, optional=True, doc=doc_basis_set),
Argument(
"keywords_high_multiplicity",
str,
[str, list[str]],
optional=True,
doc=doc_keywords_high_multiplicity,
),
Expand Down

0 comments on commit 5044565

Please sign in to comment.