Skip to content

Commit bf57af6

Browse files
committed
Add missing task for preprocessing MLCube
1 parent 8376c35 commit bf57af6

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

brats/preprocessing/mlcube/mlcube.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,9 @@ tasks:
2323

2424
sanity_check:
2525
parameters:
26-
inputs: {data_path: data/, parameters_file: {type: file, default: parameters.yaml}}
26+
inputs: {data_path: data/, parameters_file: {type: file, default: parameters.yaml}}
27+
28+
statistics:
29+
parameters:
30+
inputs: {data_path: data/, parameters_file: {type: file, default: parameters.yaml}}
31+
outputs: {output_path: {type: file, default: statistics.yaml}}

brats/preprocessing/project/mlcube.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,14 @@ def sanity_check(
4343
):
4444
pass
4545

46+
@app.command("statistics")
47+
def statistics(
48+
data_path: str = typer.Option(..., "--data_path"),
49+
parameters_file: str = typer.Option(..., "--parameters_file"),
50+
output_path: str = typer.Option(..., "--output_path")
51+
):
52+
pass
53+
4654

4755
if __name__ == "__main__":
4856
app()

0 commit comments

Comments
 (0)