eloch216 / PhotoGEA

https://eloch216.github.io/PhotoGEA/
Other
1 stars 4 forks source link

Load plaintext licor files #59

Closed eloch216 closed 1 year ago

eloch216 commented 1 year ago

This PR overhauls the file-reading functions. Now they are consolidated into a single function called read_gasex_file that performs its own method dispatch to properly call another specialized reading function. Currently there are three internal reading functions: read_licor_6800_Excel, read_licor_6800_plaintext, and read_CR3000. Although these functions are not in the package namespace, they are documented so users can learn about how they work.

This framework should be more flexible than the previous set of functions, and it will be possible to add methods for reading new types of files without needing to add new functions to the package namespace.