Skip to content

Commit 68c3042

Browse files
author
Dimitar Tasev
committed
Sort imports
1 parent 3388a07 commit 68c3042

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

mantidimaging/core/parallel/test/utility_test.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33

44
import mock
55
import numpy as np
6-
7-
from mantidimaging.core.parallel.utility import create_array, free_all_owned_by_this_instance, multiprocessing_necessary, execute_impl
86
import SharedArray as sa
97

8+
from mantidimaging.core.parallel.utility import (create_array, execute_impl, free_all_owned_by_this_instance,
9+
multiprocessing_necessary)
10+
1011

1112
def test_correctly_chooses_parallel():
1213
# forcing 1 core should always return False

mantidimaging/main.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,10 @@
55
import argparse
66
import atexit
77
import logging
8-
from mantidimaging.core.parallel.utility import INSTANCE_PREFIX, free_all_owned_by_this_instance
98
import warnings
109

11-
import SharedArray as sa
12-
1310
from mantidimaging import helper as h
11+
from mantidimaging.core.parallel.utility import free_all_owned_by_this_instance
1412
from mantidimaging.core.utility.optional_imports import safe_import
1513

1614
formatwarning_orig = warnings.formatwarning

0 commit comments

Comments
 (0)