Skip to content
Snippets Groups Projects
Commit e5796dd5 authored by Carl Philipp Klemm's avatar Carl Philipp Klemm
Browse files

Ignore voltage equalisation files

parent c7e11b8d
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ if __name__ == "__main__":
filenames = [f for f in os.listdir(args.data) if os.path.isfile(os.path.join(args.data, f))]
charge_filenames = [f for f in filenames if f.startswith("charge") or f.startswith("single_cell_")]
spectra_filenames = [f for f in filenames if not f.startswith("charge") and not f.startswith("single_cell_") and f != "expiramentlog.csv"]
spectra_filenames = [f for f in filenames if not f.startswith("charge") and not f.startswith("single_cell_") and not f.startswith("voltage_equlaization_") and f != "expiramentlog.csv"]
print(f"found {len(spectra_filenames)} spectra")
print(f"found {len(charge_filenames)} charge/discharge sequences")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment