You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
File "/nadata/snlkt/home/lkeyes/Projects/GIT/tye-lab-to-nwb/src/tye_lab_to_nwb/ast_ophys/convert_all_sessions.py", line 74, in <module>
parallel_convert_sessions(
File "/nadata/snlkt/home/lkeyes/Projects/GIT/tye-lab-to-nwb/src/tye_lab_to_nwb/ast_ophys/convert_all_sessions.py", line 32, in parallel_convert_sessions
config = read_session_config(excel_file_path=excel_file_path)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/nadata/snlkt/home/lkeyes/Projects/GIT/tye-lab-to-nwb/src/tye_lab_to_nwb/tools/read_session_config.py", line 14, in read_session_config
assert "nwbfile_path" in config.columns, "The excel file does not contain the expected 'nwbfile_path' column."
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: The excel file does not contain the expected 'nwbfile_path' column.
However, inside a python terminal I can do the following and not generate the error:
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:
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:
The text was updated successfully, but these errors were encountered: