Skip to content

Commit 4ac1652

Browse files
committed
Formatting fix
Signed-off-by: M Q <mingmelvinq@nvidia.com>
1 parent 2b34091 commit 4ac1652

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/apps/simple_imaging_app/gaussian_operator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,10 @@
99
# See the License for the specific language governing permissions and
1010
# limitations under the License.
1111

12+
from numpy import uint8
13+
1214
import monai.deploy.core as md
1315
from monai.deploy.core import DataPath, ExecutionContext, Image, InputContext, IOType, Operator, OutputContext
14-
from numpy import uint8
1516

1617

1718
@md.input("image", Image, IOType.IN_MEMORY)
@@ -30,7 +31,6 @@ def compute(self, op_input: InputContext, op_output: OutputContext, context: Exe
3031
from skimage.io import imsave
3132

3233
data_in = op_input.get().asnumpy()
33-
print(type(data_in[0,0,0]))
3434
data_out = gaussian(data_in, sigma=0.2, channel_axis=2) # Add the param introduced in 0.19.
3535

3636
output_folder = op_output.get().path

monai/deploy/packager/util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
import json
1313
import logging
1414
import os
15-
from pathlib import Path
1615
import shutil
1716
import subprocess
1817
import sys
1918
import tempfile
2019
from argparse import Namespace
20+
from pathlib import Path
2121
from typing import Dict
2222

2323
from monai.deploy.exceptions import WrongValueError

0 commit comments

Comments
 (0)