Skip to content

Commit 01875ca

Browse files
committed
fix(mlproject): fix calling mlflow run by adding project run in front
1 parent 87468b9 commit 01875ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/projects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def environment(ctx: Context) -> None:
4545
def run(ctx: Context, job: str) -> None:
4646
"""Run an mlflow project from the MLproject file."""
4747
ctx.run(
48-
f"mlflow run --experiment-name={ctx.project.name}"
48+
f"poetry run mlflow run --experiment-name={ctx.project.repository}"
4949
f" --run-name={job.capitalize()} -P conf_file=confs/{job}.yaml ."
5050
)
5151

0 commit comments

Comments
 (0)