Solid-Energy-Systems / NewareNDA

Python module and command line tool for reading and converting Neware nda and ndax battery cycling data files.
BSD 3-Clause "New" or "Revised" License
15 stars 8 forks source link

Refactor read_ndc() code #84

Closed d-cogswell closed 1 month ago

d-cogswell commented 1 month ago

Introduces an explicit naming scheme for reading ndc files based on ndc version and filetype numbers. read_ndc() chooses the correct function to call and returns a NotImplementedError if it doesn't exist. This will make adding support for new files much easier in the future.