From 8bf3fd2217b963015b1abc27027c503525f6e48e Mon Sep 17 00:00:00 2001 From: Behrooz <3968947+behxyz@users.noreply.github.com> Date: Fri, 30 Jul 2021 15:03:51 +0000 Subject: [PATCH 1/2] Restructure transforms into a directory Signed-off-by: Behrooz <3968947+behxyz@users.noreply.github.com> --- monai/apps/pathology/handlers/__init__.py | 13 +++++++++++++ .../{handlers.py => handlers/prob_map_producer.py} | 0 2 files changed, 13 insertions(+) create mode 100644 monai/apps/pathology/handlers/__init__.py rename monai/apps/pathology/{handlers.py => handlers/prob_map_producer.py} (100%) diff --git a/monai/apps/pathology/handlers/__init__.py b/monai/apps/pathology/handlers/__init__.py new file mode 100644 index 0000000000..e859194771 --- /dev/null +++ b/monai/apps/pathology/handlers/__init__.py @@ -0,0 +1,13 @@ +# Copyright 2020 - 2021 MONAI Consortium +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +from .prob_map_produce import ProbMapProducer + diff --git a/monai/apps/pathology/handlers.py b/monai/apps/pathology/handlers/prob_map_producer.py similarity index 100% rename from monai/apps/pathology/handlers.py rename to monai/apps/pathology/handlers/prob_map_producer.py From 86b99cf6cd6064c38c94f516eb52ac552b0efd83 Mon Sep 17 00:00:00 2001 From: Behrooz <3968947+behxyz@users.noreply.github.com> Date: Fri, 30 Jul 2021 15:06:32 +0000 Subject: [PATCH 2/2] Fix a typo Signed-off-by: Behrooz <3968947+behxyz@users.noreply.github.com> --- monai/apps/pathology/handlers/__init__.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/monai/apps/pathology/handlers/__init__.py b/monai/apps/pathology/handlers/__init__.py index e859194771..3a788ffa26 100644 --- a/monai/apps/pathology/handlers/__init__.py +++ b/monai/apps/pathology/handlers/__init__.py @@ -9,5 +9,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -from .prob_map_produce import ProbMapProducer - +from .prob_map_producer import ProbMapProducer