diff --git a/labman/gui/handlers/process_handlers/pooling_process.py b/labman/gui/handlers/process_handlers/pooling_process.py index 49cff7b6..9ddd8d47 100644 --- a/labman/gui/handlers/process_handlers/pooling_process.py +++ b/labman/gui/handlers/process_handlers/pooling_process.py @@ -42,70 +42,94 @@ HTML_POOL_PARAMS_SHOTGUN = { 'min': [{'prefix': 'floor-vol-', 'value': '100', + 'help': 'TODO: 1', 'desc': 'volume for low conc samples (nL):', 'min': '1', 'step': '1'}, {'prefix': 'floor-conc-', 'value': '20', + 'help': 'TODO: 2', 'desc': 'minimum value for pooling at real estimated value (nM):', 'min': '0.1', 'step': '0.1'}, {'prefix': 'total-', 'value': '0.002', + 'help': 'TODO: 3', 'desc': 'total number of nM to have in pool (nM):', 'min': '0.00001', 'step': '0.00001'}, {'prefix': 'lib-size-', 'value': '500', + 'help': 'TODO: 4', 'desc': 'Average library molecule size (bp):', 'min': '1', 'step': '1'}, - {'prefix': 'robot-'}, {'prefix': 'dest-tube-'}, + {'prefix': 'robot-', 'help': 'TODO:XX'}, + {'prefix': 'dest-tube-', 'help': 'TODO:YY'}, {'prefix': 'blank-number-', 'value': '', + 'help': 'TODO: 5', 'desc': 'Pool only highest N blanks, N=', 'min': 0, 'step': 1}, {'prefix': 'blank-vol-', 'value': '', + 'help': 'TODO: 6', 'desc': 'Pool all blanks at volume (nL):', 'min': 0, 'step': 2.5}], 'equal': [{'prefix': 'volume-', 'value': '200', + 'help': 'TODO:7', 'desc': 'volume to pool per sample (nL):', 'min': '1', 'step': '1'}, {'prefix': 'lib-size-', 'value': '500', + 'help': 'TODO:8', 'desc': 'Average library molecule size (bp):', 'min': '1', 'step': '1'}, - {'prefix': 'robot-'}, {'prefix': 'dest-tube-'}, + {'prefix': 'robot-', 'help': 'TODO:XX'}, + {'prefix': 'dest-tube-', 'help': 'TODO:YY'}, {'prefix': 'blank-number-', 'value': '', + 'help': 'TODO:9', 'desc': 'Pool only highest N blanks, N=', 'min': 0, 'step': 1}, {'prefix': 'blank-vol-', 'value': '', + 'help': 'TODO:10', 'desc': 'Pool all blanks at volume (nL):', 'min': 0, 'step': 2.5}]} HTML_POOL_PARAMS_16S = { 'min': [{'prefix': 'floor-vol-', 'value': '2', + 'help': 'TODO:11', 'desc': 'volume for low conc samples (µL):', 'min': '1', 'step': '1'}, {'prefix': 'floor-conc-', 'value': '16', + 'help': 'TODO:12', 'desc': 'minimum value for pooling at real estimated value ' '(ng/µL):', 'min': '0.1', 'step': '0.1'}, {'prefix': 'total-', 'value': '240', + 'help': 'TODO:13', 'desc': 'total quantity of DNA to pool per sample (ng):', 'min': '1', 'step': '0.1'}, {'prefix': 'lib-size-', 'value': '390', + 'help': 'TODO:14', 'desc': 'Average library molecule size (bp):', 'min': '1', 'step': '1'}, - {'prefix': 'robot-'}, {'prefix': 'dest-tube-'}, + {'prefix': 'robot-', 'help': 'TODO:XX'}, + {'prefix': 'dest-tube-', 'help': 'TODO:YY'}, {'prefix': 'blank-number-', 'value': 2, + 'help': 'TODO:15', 'desc': 'Pool only highest N blanks, N=', 'min': 0, 'step': 1}, {'prefix': 'blank-vol-', 'value': 5, + 'help': 'TODO:16', 'desc': 'Pool all blanks at volume (µL):', 'min': 0, 'step': 0.1}], 'equal': [{'prefix': 'volume-', 'value': '5', + 'help': 'TODO:17', 'desc': 'volume to pool per sample (µL):', 'min': '1', 'step': '1'}, {'prefix': 'lib-size-', 'value': '390', + 'help': 'TODO:18', 'desc': 'Average library molecule size (bp):', 'min': '1', 'step': '1'}, - {'prefix': 'robot-'}, {'prefix': 'dest-tube-'}, + {'prefix': 'robot-', 'help': 'TODO:XX'}, + {'prefix': 'dest-tube-', 'help': 'TODO:YY'}, {'prefix': 'blank-number-', 'value': 2, + 'help': 'TODO:19', 'desc': 'Pool only highest N blanks, N=', 'min': 0, 'step': 1}, {'prefix': 'blank-vol-', 'value': 5, + 'help': 'TODO:20', 'desc': 'Pool all blanks at volume (µL):', 'min': 0, 'step': 0.1}]} diff --git a/labman/gui/static/js/labman.js b/labman/gui/static/js/labman.js index 7b5e392f..9f14eae6 100644 --- a/labman/gui/static/js/labman.js +++ b/labman/gui/static/js/labman.js @@ -35,8 +35,8 @@ function createPlateNameInputDOM($targetDiv, plateId, checksCallback, label, def return $rowDiv; } -function createNumberInputDOM($targetDiv, plateId, checksCallback, label, defaultValue, idPrefix, step, minVal) { - var $rowDiv = $('
').addClass('form-group').appendTo($targetDiv); +function createNumberInputDOM($targetDiv, plateId, checksCallback, label, defaultValue, idPrefix, step, minVal, tooltip) { + var $rowDiv = $('
').addClass('form-group').appendTo($targetDiv).attr('title', tooltip); $('