Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Index error:list out of range" DLC .csv #33

Closed
MannyEsguerra opened this issue Apr 21, 2021 · 3 comments
Closed

"Index error:list out of range" DLC .csv #33

MannyEsguerra opened this issue Apr 21, 2021 · 3 comments

Comments

@MannyEsguerra
Copy link

Just getting started with BSOID. I'm running bsoid_v2 in an Anaconda environment in Windows 10. In the browser interface, I can enter the paths to my DLC evaluation results (.csv) just fine, but when BSOID gets to the pose processing step I get this:

IndexError: list index out of range
Traceback:
File "f:\users\manny\anaconda3\envs\bsoid_v2\lib\site-packages\streamlit\script_runner.py", line 332, in _run_script
exec(code, module.dict)
File "F:\Users\Manny\Documents\GitHub\B-SOID\bsoid_app.py", line 42, in
processor.compile_data()
File "F:\Users\Manny\Documents\GitHub\B-SOID\bsoid_app\data_preprocess.py", line 89, in compile_data
file0_df = pd.read_csv(data_files[0], low_memory=False)

I have 4 poses in these files, is that the issue?

@runninghsus
Copy link
Collaborator

Hi @MannyEsguerra

The root directory (third input box) should be B-SOiD Project directory
The drop-downs in the 5th and following boxes should be the session directories.

bsoid_folder_structure

@BioWalking
Copy link

Hi
I have encountered the same problem as you. Have you solved it?

@MannyEsguerra
Copy link
Author

Yes our particular issue was solved by selecting the correct analysis directory. It was specifically about pose processing step. However this "list out of range error" could occur at other places in the workflow as well for different reasons.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants