예제 #1
0
 def start_comp(self, seed_curve, name_template, cur_frame, disk_dict):
     # make the connection to the ether
     lb_view = Client(profile='vpn',
                      sshserver='10.8.0.1').load_balanced_view()
     # grab a copy of the paramters
     proc_prams = copy.copy(self.process_backend.params)
     # put in the start_frame
     if cur_frame is not None:
         proc_prams['start_frame'] = cur_frame
     name_template = leidenfrost.convert_base_path(name_template, disk_dict)
     # push to ether and hope!
     as_res = lb_view.apply_async(leidenfrost.proc.proc_cine_to_h5,
                                  self.process_backend.cine_.hash,
                                  name_template, proc_prams, seed_curve)
     print('fired: {}'.format(as_res.msg_id))
예제 #2
0
 def start_comp(self, seed_curve, name_template, cur_frame, disk_dict):
     # make the connection to the ether
     lb_view = Client(profile='vpn',
                      sshserver='10.8.0.1').load_balanced_view()
     # grab a copy of the paramters
     proc_prams = copy.copy(self.process_backend.params)
     # put in the start_frame
     if cur_frame is not None:
         proc_prams['start_frame'] = cur_frame
     name_template = leidenfrost.convert_base_path(name_template, disk_dict)
     # push to ether and hope!
     as_res = lb_view.apply_async(leidenfrost.proc.proc_cine_to_h5,
                         self.process_backend.cine_.hash,
                         name_template, proc_prams, seed_curve)
     print('fired: {}'.format(as_res.msg_id))