From 560f8f0281370a75fc2dcbb981b8b997a7d1b13e Mon Sep 17 00:00:00 2001 From: StephenLiu_WSL <stephen.liu21@outlook.com> Date: Fri, 4 Apr 2025 14:38:25 +0100 Subject: [PATCH] Fix bug so boundary condition reference file checks include ones for Dirichlet and Robin, previously only Neumann BC files were checked --- NekUpload/validate/files.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NekUpload/validate/files.py b/NekUpload/validate/files.py index 88520da..07d43fa 100644 --- a/NekUpload/validate/files.py +++ b/NekUpload/validate/files.py @@ -145,7 +145,7 @@ class NekSessionFile: referenced_boundary_condition_files: set[str] = set() #remove repeated references to same file all_regions = BOUNDARYCONDITIONS.findall("REGION") for region in all_regions: - definition = region.findall("D") + definition = region.findall("D") + region.findall("N") + region.findall("R")#only 3 tyeps of BCs, Dirichlet, Neumann, Robin for d in definition: if filename := d.get("FILE",None): referenced_boundary_condition_files.add(str(filename).strip()) -- GitLab