Ejemplo n.º 1
0
 def _job_dataset(self, name, path):
     metadata = dict()
     hda = HistoryDatasetAssociation(name=name, metadata=metadata)
     hda.dataset = Dataset(id=123, external_filename=path)
     hda.dataset.metadata = dict()
     hda.children = []
     jida = JobToInputDatasetAssociation(name=name, dataset=hda)
     return jida
Ejemplo n.º 2
0
 def _job_dataset( self, name, path ):
     metadata = dict( )
     hda = HistoryDatasetAssociation( name=name, metadata=metadata )
     hda.dataset = Dataset( id=123, external_filename=path )
     hda.dataset.metadata = dict()
     hda.children = []
     jida = JobToInputDatasetAssociation( name=name, dataset=hda )
     return jida
Ejemplo n.º 3
0
 def hda(id, name, path):
     hda = HistoryDatasetAssociation(name=name, metadata=dict())
     hda.dataset = Dataset(id=id, external_filename=path)
     hda.dataset.metadata = dict()
     hda.children = []
     return hda