Skip to content

Lazy import of scm.inputs.AMS - #437

Merged
robertrueger merged 1 commit into
trunkfrom
RobertRueger/lazy_import_AMS_inputmodel
Oct 27, 2026
Merged

robertrueger merged 1 commit into
trunkfrom
RobertRueger/lazy_import_AMS_inputmodel

Conversation

@robertrueger

Copy link
Copy Markdown
Member

Importing scm.inputs.AMS is quite slow, and currently happens unconditionally when anything is imported from scm.plams. This PR delays the import until after we are sure to need it. (The import of the InputModel base class is cheap.)

@robertrueger
robertrueger requested a review from dormrod October 27, 2026 14:57
@robertrueger robertrueger self-assigned this Oct 27, 2026
@robertrueger
robertrueger merged commit e10187b into trunk Oct 27, 2026
21 checks passed
@robertrueger
robertrueger deleted the RobertRueger/lazy_import_AMS_inputmodel branch October 27, 2026 15:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants