core_file_for falls back to OSM filename pattern for Retrofit Design Doc 🟩

This commit is contained in:
Daniel Roth 2026-05-14 08:43:04 +00:00
parent e940e75a43
commit 3ef8a59122

View file

@ -71,6 +71,8 @@ def core_file_for(
return CoreFiles.IMPROVEMENT_OPTION_EVALUATION
if CoreFiles.MEDIUM_TERM_IMPROVEMENT_PLAN.value in filename:
return CoreFiles.MEDIUM_TERM_IMPROVEMENT_PLAN
if evidence_category is None and "-OSM-" in filename and "DR-N-A" in filename:
return CoreFiles.RETROFIT_DESIGN_DOC
raise NotImplementedError