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

IndexError: list index out of range #1

Closed
yahyawasim97 opened this issue Oct 26, 2019 · 0 comments
Closed

IndexError: list index out of range #1

yahyawasim97 opened this issue Oct 26, 2019 · 0 comments

Comments

@yahyawasim97
Copy link

IndexError Traceback (most recent call last)
in
79 list_of_files = [f for f in os.listdir(data_path) if os.path.isfile(os.path.join(data_path, f)) and '_data' in f]
80
---> 81 file_sig = list_of_files[file_idx]
82 file_stim = list_of_files[file_idx].replace('_data','_labels')
83 print( "File Name: ", file_sig, file_stim)

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

1 participant