spectre.support.CheckSpecImport¶
Functions
|
Check that the SpEC Python modules can be imported. |
- spectre.support.CheckSpecImport.check_spec_import(contains_commit: str | None = None)¶
Check that the SpEC Python modules can be imported.
- Parameters:
contains_commit – If specified, check that the SpEC repository contains the specified commit. This can be used as a version check to ensure that the installed SpEC version is compatible with the code that is importing it.