當前位置: 首頁>>代碼示例>>Python>>正文


Python RetryableTask.__init__方法代碼示例

本文整理匯總了Python中gc3libs.workflow.RetryableTask.__init__方法的典型用法代碼示例。如果您正苦於以下問題:Python RetryableTask.__init__方法的具體用法?Python RetryableTask.__init__怎麽用?Python RetryableTask.__init__使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在gc3libs.workflow.RetryableTask的用法示例。


在下文中一共展示了RetryableTask.__init__方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Python代碼示例。

示例1: __init__

# 需要導入模塊: from gc3libs.workflow import RetryableTask [as 別名]
# 或者: from gc3libs.workflow.RetryableTask import __init__ [as 別名]
 def __init__(self, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GSMD_ProjectionsApplication(**extra_args),
         # keyword arguments
         **extra_args)
開發者ID:ewiger,項目名稱:gc3pie,代碼行數:9,代碼來源:gsmd_projections.py

示例2: __init__

# 需要導入模塊: from gc3libs.workflow import RetryableTask [as 別名]
# 或者: from gc3libs.workflow.RetryableTask import __init__ [as 別名]
 def __init__(self, input_file, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GpyradApplication(input_file, **extra_args),
         # keyword arguments
         **extra_args)
開發者ID:ewiger,項目名稱:gc3pie,代碼行數:9,代碼來源:gpyrad.py

示例3: __init__

# 需要導入模塊: from gc3libs.workflow import RetryableTask [as 別名]
# 或者: from gc3libs.workflow.RetryableTask import __init__ [as 別名]
 def __init__(self, executable, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GGenericApplication(executable, **extra_args),
         # keyword arguments
         **extra_args)
開發者ID:TissueMAPS,項目名稱:gc3pie,代碼行數:9,代碼來源:ggeneric.py

示例4: __init__

# 需要導入模塊: from gc3libs.workflow import RetryableTask [as 別名]
# 或者: from gc3libs.workflow.RetryableTask import __init__ [as 別名]
 def __init__(self, input_dir, working_dir, output_container, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GeoSphereApplication(input_dir, working_dir, output_container, **extra_args),
         # keyword arguments
         **extra_args)
開發者ID:TissueMAPS,項目名稱:gc3pie,代碼行數:9,代碼來源:ggeosphere_web.py

示例5: __init__

# 需要導入模塊: from gc3libs.workflow import RetryableTask [as 別名]
# 或者: from gc3libs.workflow.RetryableTask import __init__ [as 別名]
 def __init__(self, input_model, output_model, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GeoSphereApplication(input_model, output_model, **extra_args),
         # keyword arguments
         **extra_args)
開發者ID:ewiger,項目名稱:gc3pie,代碼行數:9,代碼來源:ggeosphere.py

示例6: __init__

# 需要導入模塊: from gc3libs.workflow import RetryableTask [as 別名]
# 或者: from gc3libs.workflow.RetryableTask import __init__ [as 別名]
 def __init__(self, simulation_dir, executable=None, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GeotopApplication(simulation_dir, executable, **extra_args),
         # keyword arguments
         **extra_args)
開發者ID:bringhurst,項目名稱:gc3pie,代碼行數:9,代碼來源:ggeotop.py

示例7: __init__

# 需要導入模塊: from gc3libs.workflow import RetryableTask [as 別名]
# 或者: from gc3libs.workflow.RetryableTask import __init__ [as 別名]
 def __init__(self, network_data_file, run_script, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GbenchmarkApplication(network_data_file, run_script, **extra_args),
         **extra_args
     )
開發者ID:ewiger,項目名稱:gc3pie,代碼行數:9,代碼來源:gbenchmark.py

示例8: __init__

# 需要導入模塊: from gc3libs.workflow import RetryableTask [as 別名]
# 或者: from gc3libs.workflow.RetryableTask import __init__ [as 別名]
 def __init__(self, inp_file_path, *other_input_files, **extra_args):
     """Constructor. Interface compatible with `GamessApplication`:class:"""
     if extra_args.has_key('tags'):
         extra_args['tags'].append('ENV/CPU/OPTERON-2350')
     else:
         extra_args['tags'] = [ 'ENV/CPU/OPTERON-2350' ]
     task = GamessApplication(inp_file_path, *other_input_files, **extra_args)
     RetryableTask.__init__(self, task, max_retries=3, **extra_args)
開發者ID:TissueMAPS,項目名稱:gc3pie,代碼行數:10,代碼來源:ggamess_retry.py

示例9: __init__

# 需要導入模塊: from gc3libs.workflow import RetryableTask [as 別名]
# 或者: from gc3libs.workflow.RetryableTask import __init__ [as 別名]
 def __init__(self, sim_no, executable=None, restart=None, **extra_args):
     self.sim_no = sim_no
     RetryableTask.__init__(
         self,
         # actual computational job
         GCellJunctionApplication(sim_no, executable, restart, **extra_args),
         # keyword arguments
         **extra_args)
開發者ID:TissueMAPS,項目名稱:gc3pie,代碼行數:10,代碼來源:gcelljunction.py

示例10: __init__

# 需要導入模塊: from gc3libs.workflow import RetryableTask [as 別名]
# 或者: from gc3libs.workflow.RetryableTask import __init__ [as 別名]
 def __init__(self, input_file, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GmodisApplication(
             input_file,
             **extra_args),
         **extra_args
         )
開發者ID:TissueMAPS,項目名稱:gc3pie,代碼行數:11,代碼來源:gmodis.py

示例11: __init__

# 需要導入模塊: from gc3libs.workflow import RetryableTask [as 別名]
# 或者: from gc3libs.workflow.RetryableTask import __init__ [as 別名]
 def __init__(self, start, extent, gnfs_location, input_files_archive, output, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         CryptoApplication(start, extent, gnfs_location, input_files_archive, output, **extra_args),
         # XXX: should decide which policy to use here for max_retries
         max_retries = 2,
         # keyword arguments
         **extra_args)
開發者ID:arcimboldo,項目名稱:gc3pie,代碼行數:11,代碼來源:gcrypto.py

示例12: __init__

# 需要導入模塊: from gc3libs.workflow import RetryableTask [as 別名]
# 或者: from gc3libs.workflow.RetryableTask import __init__ [as 別名]
 def __init__(self, id_times_filename, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GnwApplication(
             id_times_filename, 
             **extra_args),
         **extra_args
         )
開發者ID:bringhurst,項目名稱:gc3pie,代碼行數:11,代碼來源:gnw_measures.py

示例13: __init__

# 需要導入模塊: from gc3libs.workflow import RetryableTask [as 別名]
# 或者: from gc3libs.workflow.RetryableTask import __init__ [as 別名]
 def __init__(self, edges_data_filename, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GWeightApplication(
             edges_data_filename,
             **extra_args),
         **extra_args
         )
開發者ID:TissueMAPS,項目名稱:gc3pie,代碼行數:11,代碼來源:gweight.py

示例14: __init__

# 需要導入模塊: from gc3libs.workflow import RetryableTask [as 別名]
# 或者: from gc3libs.workflow.RetryableTask import __init__ [as 別名]
 def __init__(self, command, src_dir, result_dir, input_dir, **extra_args):
     RetryableTask.__init__(
         self,
         # actual computational job
         GcgpsApplication(
             command, 
             src_dir,
             result_dir,
             input_dir,
             **extra_args),
         **extra_args
         )
開發者ID:arcimboldo,項目名稱:gc3pie,代碼行數:14,代碼來源:gc_gps.py

示例15: __init__

# 需要導入模塊: from gc3libs.workflow import RetryableTask [as 別名]
# 或者: from gc3libs.workflow.RetryableTask import __init__ [as 別名]
 def __init__(self, task, increment=1*GB, maximum=31*GB, **extra_args):
     self.increment = increment
     self.maximum = maximum
     RetryableTask.__init__(self, task, **extra_args)
開發者ID:fliem,項目名稱:gc3pie,代碼行數:6,代碼來源:gfdiv.py


注:本文中的gc3libs.workflow.RetryableTask.__init__方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。