Skip to content

Commit 7277629

Browse files
committed
Whitespace and isort
1 parent 93c05a6 commit 7277629

5 files changed

Lines changed: 7 additions & 10 deletions

File tree

CHANGELOG.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ GitHub issues are referenced, and can be viewed with hyperlinks on the `github r
88

99
.. _`github releases page`: https://github.com/Libensemble/libensemble/releases
1010

11-
1211
Release 1.4.2
1312
--------------
1413

@@ -35,7 +34,6 @@ Release 1.4.2
3534

3635
* See known issues section in the documentation.
3736

38-
3937
Release 1.4.1
4038
--------------
4139

@@ -53,7 +51,6 @@ Release 1.4.1
5351

5452
* See known issues section in the documentation.
5553

56-
5754
Release 1.4.0
5855
--------------
5956

libensemble/ensemble.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212
from libensemble.specs import AllocSpecs, ExitCriteria, GenSpecs, LibeSpecs, SimSpecs
1313
from libensemble.tools import add_unique_random_streams
1414
from libensemble.tools import parse_args as parse_args_f
15-
from libensemble.tools.parse_args import mpi_init
1615
from libensemble.tools import save_libE_output
16+
from libensemble.tools.parse_args import mpi_init
1717
from libensemble.utils.misc import specs_dump
1818

1919
ATTR_ERR_MSG = 'Unable to load "{}". Is the function or submodule correctly named?'

libensemble/gen_funcs/persistent_aposmm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414
import numpy as np
1515
from mpmath import gamma
1616

17-
# from scipy.spatial.distance import cdist
18-
1917
from libensemble.gen_funcs.aposmm_localopt_support import ConvergedMsg, LocalOptInterfacer, simulate_recv_from_manager
2018
from libensemble.message_numbers import EVAL_GEN_TAG, FINISHED_PERSISTENT_GEN_TAG, PERSIS_STOP, STOP_TAG
2119
from libensemble.tools.persistent_support import PersistentSupport
2220

21+
# from scipy.spatial.distance import cdist
22+
2323

2424
# Due to recursion error in scipy cdist function
2525
def cdist(XA, XB, metric="euclidean"):

libensemble/sim_funcs/simple_sim.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
__all__ = ["norm_eval"]
66

77
import numpy as np
8+
89
from libensemble.specs import input_fields, output_data
910

1011

libensemble/tests/functionality_tests/test_mpi_warning.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,18 @@
1111
# TESTSUITE_COMMS: mpi
1212
# TESTSUITE_NPROCS: 4
1313

14-
import numpy as np
1514
import os
1615
import time
1716

18-
from libensemble import Ensemble
17+
import numpy as np
18+
19+
from libensemble import Ensemble, logger
1920
from libensemble.gen_funcs.sampling import latin_hypercube_sample as gen_f
2021

2122
# Import libEnsemble items for this test
2223
from libensemble.sim_funcs.simple_sim import norm_eval as sim_f
2324
from libensemble.specs import ExitCriteria, GenSpecs, SimSpecs
2425

25-
from libensemble import logger
26-
2726
# Main block is necessary only when using local comms with spawn start method (default on macOS and Windows).
2827
if __name__ == "__main__":
2928
log_file = "ensemble_check_warning.log"

0 commit comments

Comments
 (0)