mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
core_file_for identifies IOE files via filename substring 🟩
This commit is contained in:
parent
9bbd5f1ff9
commit
46355be3f1
1 changed files with 2 additions and 0 deletions
|
|
@ -67,6 +67,8 @@ def core_file_for(
|
|||
) -> Optional[CoreFiles]:
|
||||
if evidence_category is not None and evidence_category.lower() == "retrofit design":
|
||||
return CoreFiles.RETROFIT_DESIGN_DOC
|
||||
if CoreFiles.IMPROVEMENT_OPTION_EVALUATION.value in filename:
|
||||
return CoreFiles.IMPROVEMENT_OPTION_EVALUATION
|
||||
raise NotImplementedError
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue