Closed ttngu207 closed 2 months ago
CodeRabbit
The proposed changes primarily focus on the handling of configuration files within the Reader
class in the aeon/io/reader.py
file. The config_file
class property has been removed and instead, it is passed as a parameter to several methods. This modification enhances modularity and maintainability by reducing the reliance on shared state.
File | Summary |
---|---|
aeon/io/reader.py |
Removed the config_file class property and passed it as a parameter to the get_class_names , get_bodyparts , and class_int2str methods. This change improves modularity and maintainability but may impact the external interface or behavior of the code. |
Actually this is good as is, so will merge like this
Summary by CodeRabbit
aeon/io/reader.py
. Theconfig_file
is no longer a class property and is now passed as a parameter to the methodsget_class_names
,get_bodyparts
, andclass_int2str
. This change enhances the flexibility and maintainability of the code. Please note, this may impact the external interface or behavior of the code if these methods are used externally.