import os

from scriptcwl import WorkflowGenerator as WFGenerator


class WorkflowGenerator(WFGenerator):
    def __init__(self):
        module_path = os.path.dirname(os.path.realpath(__file__))
        steps_dir = os.path.join(module_path, '../cwl/steps/')
        steps_dir = os.path.realpath(steps_dir)

        WFGenerator.__init__(self, steps_dir=steps_dir)

import os

from scriptcwl import WorkflowGenerator as WFGenerator


class WorkflowGenerator(WFGenerator):
    def __init__(self):
        module_path = os.path.dirname(os.path.realpath(__file__))
        steps_dir = os.path.join(module_path, '../cwl/')
        steps_dir = os.path.realpath(steps_dir)

        WFGenerator.__init__(self, steps_dir=steps_dir)

Load steps (CommandLineTools) from new directory
Load steps (CommandLineTools) from new directory

This also required changes to scriptcwl; scriptcwl now checks whether
a cwl-file contains a CommandLineTool or a Workflow. If it contains a
Workflow, an empty step is added to the steps library. This needs to
be fixed.
