def get_pipeline_director():
    global __pipeline_director
    if __pipeline_director is None:
        __pipeline_director = PrideClusterExporter(
            config_manager.read_config_from_file(__configuration_file),
            __configuration_file, __pipeline_arguments)
    return __pipeline_director
Exemple #2
0
def get_pipeline_director():
    global __pipeline_director
    if __pipeline_director is None:
        __pipeline_director = TrackhubCreatorForProject(
            config_manager.read_config_from_file(__configuration_file),
            __configuration_file, __pipeline_arguments)
    return __pipeline_director
Exemple #3
0
def get_pipeline_director():
    global __pipeline_director
    if __pipeline_director is None:
        __pipeline_director = EnsemblDataCollector(
            config_manager.read_config_from_file(__configuration_file),
            __configuration_file, __pipeline_arguments)
    return __pipeline_director
Exemple #4
0
def get_service():
    global __service_instance
    if __service_instance is None:
        __service_instance = Service(
            config_manager.read_config_from_file(__configuration_file),
            __configuration_file)
    return __service_instance
def get_configuration_service():
    global __configuration_service
    if not __configuration_service:
        __configuration_service = ConfigurationService(
            config_manager.read_config_from_file(__configuration_file),
            __configuration_file)
    return __configuration_service
def get_data_download_service():
    global __data_download_service
    if __data_download_service is None:
        __data_download_service = DataDownloadService(
            config_manager.read_config_from_file(__configuration_file),
            __configuration_file)
        __data_download_service.post_constructor()
    return __data_download_service