Skip to content

Commit 105d146

Browse files
TAG: Bump Patch Version; clean imports
1 parent e5bad02 commit 105d146

5 files changed

Lines changed: 11 additions & 13 deletions

File tree

docs/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@
220220
"download_all_examples": False,
221221
"remove_config_comments": True,
222222
"filename_pattern": r"\.py$",
223-
"plot_gallery": False,
223+
"plot_gallery": True,
224224
"run_stale_examples": True,
225225
"matplotlib_animations": True,
226226
}

mapflpy/scripts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
from mapflpy.globals import DEFAULT_BUFFER_SIZE, Traces, PathType, DirectionType
3232
from mapflpy.tracer import TracerMP
33-
from mapflpy.utils import shift_phi_traces, shift_phi_lps, fetch_default_launch_points, combine_fwd_bwd_traces
33+
from mapflpy.utils import shift_phi_traces, shift_phi_lps, fetch_default_launch_points
3434

3535
__all__ = [
3636
"run_forward_tracing",

mapflpy/tracer.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@
1414
other's state. This is required due to the global state held by the Fortran library.
1515
"""
1616
from __future__ import annotations
17+
18+
from abc import ABC, abstractmethod
19+
from collections import ChainMap
20+
from collections.abc import MutableMapping
1721
from functools import wraps
1822
from multiprocessing import get_context
1923
from multiprocessing.shared_memory import SharedMemory
20-
from weakref import WeakSet
21-
from abc import ABC, abstractmethod
2224
from os import PathLike
23-
from collections import ChainMap
24-
from collections.abc import MutableMapping
2525
from pathlib import Path
2626
from types import MappingProxyType
27-
from typing import Iterable, Optional, Tuple, Callable, Literal
27+
from typing import Optional, Tuple
28+
from weakref import WeakSet
2829

2930
import numpy as np
3031
from numpy.typing import ArrayLike, NDArray
31-
3232
from psi_io import read_hdf_data
3333

3434
from mapflpy.globals import (

mapflpy/utils.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@
33
"""
44
from __future__ import annotations
55

6-
import math
7-
import random
8-
from typing import Tuple, List, Any, Optional, TypeVar, Sequence
6+
from typing import Tuple, List, Optional, Sequence
97

108
import numpy as np
11-
from numpy.typing import ArrayLike, NDArray
9+
from numpy.typing import NDArray
1210
from psi_io import interpolate_positions_from_hdf
1311

1412
from mapflpy.globals import Traces, Polarity, ArrayType, PathType

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ requires = [
1616
# ----------------
1717
[project]
1818
name = "mapflpy"
19-
version = "1.1.8"
19+
version = "1.1.9"
2020
description = "Fast field line tracing for spherical vector fields"
2121
authors = [
2222
{name = "Predictive Science Inc.", email = "webmaster@predsci.com"},

0 commit comments

Comments
 (0)