From 45132b42ceb1afa8490f46b1e22afb960630ff9f Mon Sep 17 00:00:00 2001 From: Florez Ospina Juan Felipe Date: Tue, 21 Jan 2025 08:57:38 +0100 Subject: [PATCH] Add json and yaml extensions to admissible file extension lists. --- instruments/readers/filereader_registry.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/instruments/readers/filereader_registry.py b/instruments/readers/filereader_registry.py index 7853ae9..71e2a24 100644 --- a/instruments/readers/filereader_registry.py +++ b/instruments/readers/filereader_registry.py @@ -7,7 +7,7 @@ from instruments.readers.xps_ibw_reader import read_xps_ibw_file_as_dict from instruments.readers.g5505_text_reader import read_txt_files_as_dict -file_extensions = ['.ibw','.txt','.dat','.h5','.TXT','.csv','.pkl'] +file_extensions = ['.ibw','.txt','.dat','.h5','.TXT','.csv','.pkl','json','yaml'] # Define the instruments directory (modify this as needed or set to None) default_instruments_dir = None # or provide an absolute path