Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Exception when preparing an amplicon library with a 384 well plate

Open
#475 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
backend

Research direction

Start with gui/handlers/process_handlers/library_prep_16s_process.py at the reported post handler, then inspect db/process.py around create primer_layout. Reproduce the preparation flow with a 384-well amplicon plate and mismatched primer plates. Done means the case is handled by explicit validation rather than producing the reported IndexError; confirm the intended plate-size rule before changing behavior.

Written by the indexing model from the issue text.

Description

bug priority:high

In my test environment, I have amplicon 384-well plates. It appears that the prepare amplicon libraries page is not presently validating that the primer plates have the same number of wells. I'm not sure if we ever want to do 384 well amplicon plates, but we may want to have validation here to disallow the user from doing something they shouldn't be able to do.

I can't remember if this is a duplicate or not -- it felt familiar but I didn't see an issue when flipping through.

prepare_16s_libraries

AN ERROR HAS OCCURED!
Please copy the following into an issue in our github repository

Error
list index out of range

Traceback
Traceback (most recent call last): 
File "/Users/dtmcdonald/miniconda3/envs/labcontrol/lib/python3.7/site-packages/tornado/web.py", line 1697, in _execute result = method(*self.path_args, **self.path_kwargs) 
File "/Users/dtmcdonald/miniconda3/envs/labcontrol/lib/python3.7/site-packages/tornado/web.py", line 3174, in wrapper return method(self, *args, **kwargs) 
File "/Users/dtmcdonald/ResearchWork/software/labman/labcontrol/gui/handlers/process_handlers/library_prep_16s_process.py", line 88, in post for pid, pn, pp, ep, ep300, ep50, mm, w in json_decode(plates_info) 
File "/Users/dtmcdonald/ResearchWork/software/labman/labcontrol/gui/handlers/process_handlers/library_prep_16s_process.py", line 88, in for pid, pn, pp, ep, ep300, ep50, mm, w in json_decode(plates_info) 
File "/Users/dtmcdonald/ResearchWork/software/labman/labcontrol/db/process.py", line 933, in create primer_layout[i][j].composition) 
IndexError: list index out of range 
Dominant language
Python
Stars
2
Forks
15
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from biocore/LabControl

All issues in biocore/LabControl

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.