This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def _setup_extr_quant_review(self): | |
self.extr_review = create_process_definition( | |
ips.POST_EXTR_QUANT_REVIEW) | |
self.extrs = [ | |
'EXTR_1', | |
] | |
self.add_consumables( | |
ips.QUANTED_EXTR_PLATES, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@mock_autoapp_server(settings.WETLAB_OPS_URL) | |
def test_extr_quant_review_no_rewinds(self, mock_wetlab_ops): | |
mock_wetlab_ops.register_post('/rest/labware_op/', {'uuid': None}) | |
extr_review = create_process_definition( | |
ips.POST_EXTR_QUANT_REVIEW) | |
extrs = [ | |
'EXTR_1', | |
] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"standards": { | |
"D12": { | |
"concentration_expected": 200, | |
"fluor": 28479, | |
"concentration": 213.24527824730268 | |
}, | |
"H02": { | |
"concentration_expected": 100, | |
"fluor": 12931, | |
"concentration": 96.67480511716742 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"qc_data": { | |
"r_squared": 0.998, | |
"standards": { | |
"D02": { | |
"concentration_expected": 3.6, | |
"fluor": 9205, | |
"concentration": 3.6459860268209003 | |
}, | |
"D01": { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pasting code; enter '--' alone on the line to stop or use Ctrl-D. | |
:from predicate.debug import patch_with_orm_eval | |
:from predicate.predicate import get_values_list | |
:print l.pools.values_list('consumableinpool__left') | |
:print get_values_list(l, 'pools__consumableinpool__left') | |
:print P(**l.current_pool_filter).filter(l.pools.all()) | |
:with patch_with_orm_eval(): | |
: print P(**l.current_pool_filter).filter(l.pools.all()) | |
: | |
:-- |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
331835 function calls (329253 primitive calls) in 6.968 seconds | |
Ordered by: cumulative time, function name | |
ncalls tottime percall cumtime percall filename:lineno(function) | |
1 0.000 0.000 6.969 6.969 <ipython-input-1-65eb18958b15>:12(profile_samples_rewind_options) | |
1 0.000 0.000 6.969 6.969 /Users/eileen/testv-nfs/auto_pipeline/venv/lib/python2.7/site-packages/rest_framework/test.py:165(post) | |
1 0.000 0.000 6.969 6.969 /Users/eileen/testv-nfs/auto_pipeline/venv/lib/python2.7/site-packages/rest_framework/test.py:88(post) | |
1 0.000 0.000 6.969 6.969 /Users/eileen/testv-nfs/auto_pipeline/venv/lib/python2.7/site-packages/rest_framework/compat.py:206(generic) | |
1 0.000 0.000 6.968 6.968 /Users/eileen/testv-nfs/auto_pipeline/venv/lib/python2.7/site-packages/rest_framework/test.py:154(request) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
564392 function calls (561010 primitive calls) in 19.461 seconds | |
Ordered by: cumulative time, function name | |
ncalls tottime percall cumtime percall filename:lineno(function) | |
1 0.000 0.000 19.466 19.466 <ipython-input-1-6a7c865ae4fd>:21(profile_rewind_batch_samples) | |
1 0.000 0.000 19.466 19.466 /Users/eileen/testv-nfs/auto_pipeline/venv/lib/python2.7/site-packages/rest_framework/test.py:165(post) | |
1 0.000 0.000 19.466 19.466 /Users/eileen/testv-nfs/auto_pipeline/venv/lib/python2.7/site-packages/rest_framework/test.py:88(post) | |
1 0.000 0.000 19.465 19.465 /Users/eileen/testv-nfs/auto_pipeline/venv/lib/python2.7/site-packages/rest_framework/compat.py:206(generic) | |
1 0.000 0.000 19.465 19.465 /Users/eileen/testv-nfs/auto_pipeline/venv/lib/python2.7/site-packages/rest_framework/test.py:154(request) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6762194 function calls (6718103 primitive calls) in 126.013 seconds | |
Ordered by: cumulative time, function name | |
ncalls tottime percall cumtime percall filename:lineno(function) | |
1 0.001 0.001 126.071 126.071 <ipython-input-1-6a7c865ae4fd>:21(profile_rewind_batch_samples) | |
1 0.000 0.000 126.070 126.070 /Users/eileen/testv-nfs/auto_pipeline/venv/lib/python2.7/site-packages/rest_framework/test.py:165(post) | |
1 0.000 0.000 126.070 126.070 /Users/eileen/testv-nfs/auto_pipeline/venv/lib/python2.7/site-packages/rest_framework/test.py:88(post) | |
1 0.000 0.000 126.070 126.070 /Users/eileen/testv-nfs/auto_pipeline/venv/lib/python2.7/site-packages/rest_framework/compat.py:206(generic) | |
1 0.000 0.000 126.070 126.070 /Users/eileen/testv-nfs/auto_pipeline/venv/lib/python2.7/site-packages/rest_framework/test.py:154(request) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
u 'qc_data': { | |
u 'unknowns': { | |
u 'H09': [{ | |
u 'fluor': 57459.0, | |
u 'concentration': 656.9792311737676, | |
u 'source_coor': [16, 17], | |
u 'dest_coor': [8, 9] | |
}, { | |
u 'fluor': 55717.0, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
u 'qc_data': { | |
u 'unknowns': { | |
u 'H09': [{ | |
u 'fluor': 38069.0, | |
u 'concentration': -627.6861089327767, | |
u 'source_coor': [16, 17], | |
u 'dest_coor': [8, 9] | |
}, { |