Closed laurelrr closed 9 months ago
There are a couple things we can double check here, first is whether tye_lab_to_nwb/ast_ophys/convert_all_sessions.py
is really working with the correct excel file, we can try to call parallel_convert_sessions
directly with that excel file:
>>> from tye_lab_to_nwb.ast_ophys.convert_all_sessions import parallel_convert_sessions
>>> excel_file_path = "/snlkt/ast/ASt_NWB/NWB_Masters/calcium_ophys/ophys_master_excel_file_locations_20231211_D2.xlsx"
>>> parallel_convert_sessions(excel_file_path=excel_file_path)
Also make sure the columns doesn't contain any spaces or tabs, but since it worked when directly calling read_session_config
I think the file is fine.
I did have some trailing whitespace on a few of the column headers.
After removing them, it seems to be running, thank you!
I have an excel file that contains the column
nwbfile_path
and have updated convert_all_session.py to read from that file. However,python convert_all_session.py
produces this error:However, inside a python terminal I can do the following and not generate the error: