@@ -0,0 +1,19 | |||
|
1 | from __future__ import absolute_import | |
|
2 | from celery import task | |
|
3 | from .models import Experiment | |
|
4 | ||
|
5 | #@task | |
|
6 | #def task_start(id_exp): | |
|
7 | ||
|
8 | # exp = Experiment.objects.get(pk=id_exp) | |
|
9 | ||
|
10 | # return exp.start() | |
|
11 | ||
|
12 | ||
|
13 | ||
|
14 | #@task | |
|
15 | #def task_stop(id_exp): | |
|
16 | ||
|
17 | # exp = Experiment.objects.get(pk=id_exp) | |
|
18 | ||
|
19 | # return exp.stop() |
@@ -524,12 +524,12 class ABSConfiguration(Configuration): | |||
|
524 | 524 | |
|
525 | 525 | #print write_route |
|
526 | 526 | |
|
527 | header = 'JROABSCeCnModCnMod01000108SNDFexperimento1.ab1' | |
|
528 | module = 'ABS_'+str(module) | |
|
529 |
beams = |
|
|
530 | 7: '110110', 8: '111111', 9: '000000', 10: '001001', 11: '010010', 12: '011011'} | |
|
527 | #header = 'JROABSCeCnModCnMod01000108SNDFexperimento1.ab1' | |
|
528 | #module = 'ABS_'+str(module) | |
|
529 | beams = '!`*3<ENW'#{1: '001000', 2: '010001', 3: '010010', 4: '000011', 5: '101100', 6: '101101', | |
|
530 | # 7: '110110', 8: '111111', 9: '000000', 10: '001001', 11: '010010', 12: '011011'} | |
|
531 | 531 | |
|
532 | parameters['header'] = header | |
|
532 | #parameters['header'] = header | |
|
533 | 533 | parameters['module'] = module |
|
534 | 534 | parameters['beams'] = json.dumps(beams) |
|
535 | 535 |
General Comments 0
You need to be logged in to leave comments.
Login now