Skip to content

Commit 1d0c8f0

Browse files
committed
Test model logic
1 parent 10bbfe6 commit 1d0c8f0

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

brats/model/mlcube/mlcube.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,4 @@ tasks:
2323
infer:
2424
# Run implementation
2525
parameters:
26-
inputs: {data_path: data/, parameters_file: {type: file, default: parameters.yaml}}
27-
outputs: {output_path: output/}
26+
inputs: {data_path: data/}

brats/model/project/mlcube.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,9 @@ def example(parameters_file: str = typer.Option(..., "--parameters_file")):
4949

5050
@app.command("infer")
5151
def infer(
52-
data_path: str = typer.Option(..., "--data_path"),
53-
output_path: str = typer.Option(..., "--output_path"),
54-
parameters_file: str = typer.Option(..., "--parameters_file")
52+
data_path: str = typer.Option(..., "--data_path")
5553
):
56-
InferTask.run(data_path, output_path, parameters_file)
54+
print(data_path)
5755

5856

5957
if __name__ == "__main__":

brats/model/project/src/my_logic.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def logic_wrapper(input_folder, output_folder):
1313
print("wrapper: Here you can place your own logic")
1414

1515
# example logic
16-
copyfile(input_file, output_file)
16+
#copyfile(input_file, output_file)
1717
helper()
1818

1919

0 commit comments

Comments
 (0)