The goal is to remove an extra layer of code that was present for the Solinst readers by adding a new function read_solinst_file that returns a Solinst reader object appropriate to the given file type.
This is the strategy that is used by many packages, such as Pandas, so I guess this is not going to be too much confusing.
This should make the code easier to understand and make the maintenance and development of the Solinst readers easier by making the inheritance tree a little bit cleaner and easier to follow.
The goal is to remove an extra layer of code that was present for the Solinst readers by adding a new function
read_solinst_file
that returns a Solinst reader object appropriate to the given file type.This is the strategy that is used by many packages, such as Pandas, so I guess this is not going to be too much confusing.
This should make the code easier to understand and make the maintenance and development of the Solinst readers easier by making the inheritance tree a little bit cleaner and easier to follow.