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 out of range due to single sample name #16

Closed
gl-eb opened this issue Apr 2, 2024 · 0 comments
Closed

Index out of range due to single sample name #16

gl-eb opened this issue Apr 2, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@gl-eb
Copy link
Owner

gl-eb commented Apr 2, 2024

Running the script on a txt file containing only a single sample name (i.e. one line only) results in an index out of range error.

Traceback (most recent call last):
  File "./generate-stickers-AveryL7871/generateStickers.py", line 247, in <module>
    f"{names_list[0]}, {names_list[1]} ... "
                        ~~~~~~~~~~^^^
IndexError: list index out of range
@gl-eb gl-eb added the bug Something isn't working label Apr 2, 2024
@gl-eb gl-eb self-assigned this Apr 2, 2024
@gl-eb gl-eb changed the title Index Out of Range Due to Single Sample Name Index out of range due to single sample name Apr 2, 2024
@gl-eb gl-eb closed this as completed in a11e22b Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant