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

Pool amplicon libraries allows for 0 concentration triggering an exception

Open
#478 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
42/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
backend

Research direction

Start with the pooling form handler in labcontrol/gui/handlers/process_handlers/pooling_process.py and trace the request into labcontrol/db/process.py around line 2406, where input_volume is compared with 0.001. Reproduce the down-arrow input and inspect how the concentration becomes None. Done means the zero-concentration path no longer triggers the reported exception.

Written by the indexing model from the issue text.

Description

bug priority:high

It's possible to select the down arrow when specifying a concentration. This results in the following exception:

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

Error
'<' not supported between instances of 'NoneType' and 'float'

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/pooling_process.py", line 310, in post {"function": "amplicon_pool", "parameters": {}}) 
File "/Users/dtmcdonald/ResearchWork/software/labman/labcontrol/db/process.py", line 2406, in create if in_comp['input_volume'] < 0.001:
TypeError: '<' not supported between instances of 'NoneType' and 'float' 

poolpools_error

Dominant language
Python
Stars
2
Forks
15
PR merge metrics
No merged PRs in 30d

Getting set up

We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.

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.