ImperialCollegeLondon / PyProBE

Python Processing for Battery Experiments
https://imperialcollegelondon.github.io/PyProBE/
BSD 3-Clause "New" or "Revised" License
6 stars 3 forks source link

Fix multi file reading where columns are missing in some files #162

Closed tomjholland closed 4 days ago

tomjholland commented 4 days ago

This pull request includes several changes to the pyprobe/cyclers/basecycler.py file and its corresponding test file. The changes focus on improving the handling of dataframes with missing columns and updating the concatenation method for dataframes. Additionally, a new test case has been added to verify the handling of missing columns.

Changes to dataframe handling:

Changes to tests: