Skip to content

Commit

Permalink
Use luigi-tools==0.0.3
Browse files Browse the repository at this point in the history
Change-Id: Iaef18d7afdb147a7ac5c4a71b6f1c73a59ab5152
  • Loading branch information
adrien-berchet committed Nov 30, 2020
1 parent 80d16ea commit 19b4a66
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"jinja2",
"joblib",
"luigi",
"luigi-tools>=0.0.2",
"luigi-tools>=0.0.3",
"matplotlib",
"morph_tool>=2.2.21",
"morph_validator",
Expand Down
2 changes: 1 addition & 1 deletion src/synthesis_workflow/tasks/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from pathlib import Path

import luigi
from luigi_tools.utils import get_dependency_graph
from luigi_tools.util import get_dependency_graph

import synthesis_workflow
from synthesis_workflow.tasks import workflows
Expand Down
30 changes: 15 additions & 15 deletions src/synthesis_workflow/tasks/luigi_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,26 @@

import luigi

from luigi_tools import tasks
from luigi_tools.parameters import BoolParameter
from luigi_tools.parameters import ExtParameter
from luigi_tools.parameters import OptionalFloatParameter
from luigi_tools.parameters import OptionalIntParameter
from luigi_tools.parameters import OptionalNumericalParameter
from luigi_tools.parameters import OptionalParameter
from luigi_tools.parameters import OptionalRatioParameter
from luigi_tools.parameters import RatioParameter
from luigi_tools.targets import OutputLocalTarget
from luigi_tools.tasks import copy_params
from luigi_tools.tasks import ParamRef
from luigi_tools.tasks import WorkflowWrapperTask
from luigi_tools.utils import WorkflowError
from luigi_tools import task
from luigi_tools.parameter import BoolParameter
from luigi_tools.parameter import ExtParameter
from luigi_tools.parameter import OptionalFloatParameter
from luigi_tools.parameter import OptionalIntParameter
from luigi_tools.parameter import OptionalNumericalParameter
from luigi_tools.parameter import OptionalParameter
from luigi_tools.parameter import OptionalRatioParameter
from luigi_tools.parameter import RatioParameter
from luigi_tools.target import OutputLocalTarget
from luigi_tools.task import copy_params
from luigi_tools.task import ParamRef
from luigi_tools.task import WorkflowWrapperTask
from luigi_tools.util import WorkflowError


L = logging.getLogger(__name__)


class WorkflowTask(tasks.LogTargetMixin, tasks.WorkflowTask):
class WorkflowTask(task.LogTargetMixin, task.WorkflowTask):
"""Default task used in workflows.
This task can be forced running again by setting the 'rerun' parameter to True.
Expand Down

0 comments on commit 19b4a66

Please sign in to comment.