Skip to content

Commit

Permalink
Removing some imports for depreciated/moved codes
Browse files Browse the repository at this point in the history
  • Loading branch information
Lanke Fu committed Oct 3, 2024
1 parent f71f5b7 commit 52bcec0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/simsopt/field/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
from .biotsavart import *
from .boozermagneticfield import *
from .coil import *
from .fieldalignment import *
from .magneticfield import *
from .magneticfieldclasses import *
from .mgrid import *
Expand All @@ -19,7 +18,6 @@
+ mgrid.__all__
+ normal_field.__all__
+ tracing.__all__
+ fieldalignment.__all__
+ selffield.__all__
+ magnetic_axis_helpers.__all__
)
2 changes: 1 addition & 1 deletion src/simsopt/field/selffield.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

Biot_savart_prefactor = constants.mu_0 / (4 * np.pi)

__all__ = ['B_regularized_pure', 'regularization_rect', 'SelfField']
__all__ = ['B_regularized_pure', 'regularization_rect']

def rectangular_xsection_k(a, b):
"""Auxiliary function for field in rectangular conductor"""
Expand Down

0 comments on commit 52bcec0

Please sign in to comment.