Esempio n. 1
0
def DataFactory(entry_point):
    """
    Return the Data plugin class for a given entry point

    :param entry_point: the entry point name of the Data plugin
    """
    return BaseFactory('aiida.data', entry_point)
Esempio n. 2
0
def WorkflowFactory(entry_point):
    """
    Return the Workflow plugin class for a given entry point

    :param entry_point: the entry point name of the Workflow plugin
    """
    return BaseFactory('aiida.workflows', entry_point)
Esempio n. 3
0
def CalculationFactory(entry_point):
    """
    Return the Calculation plugin class for a given entry point

    :param entry_point: the entry point name of the Calculation plugin
    """
    return BaseFactory('aiida.calculations', entry_point)
Esempio n. 4
0
def TcodExporterFactory(entry_point):
    """
    Return the TcodExporter plugin class for a given entry point

    :param entry_point: the entry point name of the TcodExporter plugin
    """
    return BaseFactory('aiida.tools.dbexporters.tcod_plugins', entry_point)
Esempio n. 5
0
def DbImporterFactory(entry_point):
    """
    Return the DbImporter plugin class for a given entry point

    :param entry_point: the entry point name of the DbImporter plugin
    """
    return BaseFactory('aiida.tools.dbimporters', entry_point)
Esempio n. 6
0
def ParserFactory(entry_point):
    """
    Return the Parser plugin class for a given entry point

    :param entry_point: the entry point name of the Parser plugin
    """
    return BaseFactory('aiida.parsers', entry_point)
Esempio n. 7
0
def SchedulerFactory(entry_point):
    """
    Return the Scheduler plugin class for a given entry point

    :param entry_point: the entry point name of the Scheduler plugin
    """
    # pylint: disable=invalid-name
    return BaseFactory('aiida.schedulers', entry_point)