Fixed bug that didnot allowed analythical_methods composite keywords (e.g., ICAD/HONO) to be matched in intrument configurations.

This commit is contained in:
2024-05-28 08:57:57 +02:00
parent 3270ce5ed7
commit 08d58557df

View File

@ -117,7 +117,7 @@ def read_txt_files_as_dict(filename : str ):
except yaml.YAMLError as exc:
print(exc)
# Verify if file can be read by available intrument configurations.
if not any(key in filename for key in config_dict.keys()):
if not any(key in filename.replace(os.sep,'/') for key in config_dict.keys()):
return {}