예제 #1
0
파일: task.py 프로젝트: ptrwtts/aeneas
 def __init__(self, config_string=None, rconf=None, logger=None):
     super(Task, self).__init__(rconf=rconf, logger=logger)
     self.identifier = gf.uuid_string()
     self.configuration = None
     self.audio_file_path = None # relative to input container root
     self.audio_file_path_absolute = None # concrete path, file will be read from this!
     self.audio_file = None
     self.text_file_path = None # relative to input container root
     self.text_file_path_absolute = None # concrete path, file will be read from this!
     self.text_file = None
     self.sync_map_file_path = None # relative to output container root
     self.sync_map_file_path_absolute = None # concrete path, file will be written to this!
     self.sync_map = None
     if config_string is not None:
         self.configuration = TaskConfiguration(config_string)
예제 #2
0
파일: task.py 프로젝트: shivupoojar/DeFog
 def __init__(self, config_string=None, rconf=None, logger=None):
     super(Task, self).__init__(rconf=rconf, logger=logger)
     self.identifier = gf.uuid_string()
     self.configuration = None
     self.audio_file_path = None  # relative to input container root
     self.audio_file_path_absolute = None  # concrete path, file will be read from this!
     self.audio_file = None
     self.text_file_path = None  # relative to input container root
     self.text_file_path_absolute = None  # concrete path, file will be read from this!
     self.text_file = None
     self.sync_map_file_path = None  # relative to output container root
     self.sync_map_file_path_absolute = None  # concrete path, file will be written to this!
     self.sync_map = None
     if config_string is not None:
         self.configuration = TaskConfiguration(config_string)
예제 #3
0
파일: job.py 프로젝트: eomerdws/aeneas
 def __init__(self, config_string=None, rconf=None, logger=None):
     super(Job, self).__init__(rconf=rconf, logger=logger)
     self.tasks = []
     self.identifier = gf.uuid_string()
     self.configuration = None if config_string is None else JobConfiguration(config_string)
예제 #4
0
 def test_uuid_string(self):
     uuid = gf.uuid_string()
     self.assertEqual(len(uuid), 36)
예제 #5
0
 def __init__(self, config_string=None, rconf=None, logger=None):
     super(Job, self).__init__(rconf=rconf, logger=logger)
     self.tasks = []
     self.identifier = gf.uuid_string()
     self.configuration = None if config_string is None else JobConfiguration(
         config_string)
예제 #6
0
 def test_uuid_string(self):
     uuid = gf.uuid_string()
     self.assertEqual(len(uuid), 36)