Skip to content

Commit

Permalink
Bug fix and PEP improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
po09i committed Jan 23, 2024
1 parent 1fbb378 commit 9fa813c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion shimmingtoolbox/coils/coil.py
Expand Up @@ -167,7 +167,7 @@ def _create_coil_profile(self, dim, manufacturer=None):
profile_orders = ge_basis(mesh1, mesh2, mesh3, orders=tuple(temp_orders),
shim_cs=self.coord_system)
elif manufacturer == 'PHILIPS':
profile_orders = philips_basis(mesh1, mesh2, mesh3, orders=tuple(range(1, self.order + 1)),
profile_orders = philips_basis(mesh1, mesh2, mesh3, orders=tuple(temp_orders),
shim_cs=self.coord_system)
else:
logger.warning(f"{manufacturer} manufacturer not implemented. Outputting in Hz, uT/m, uT/m^2 for order "
Expand Down
1 change: 1 addition & 0 deletions shimmingtoolbox/coils/create_coil_profiles.py
Expand Up @@ -9,6 +9,7 @@
logger = logging.getLogger(__name__)
TOLERANCE = 0.001


def create_coil_profiles(fnames_fmaps, list_currents):
""" Create coil profiles from fieldmaps
Expand Down

0 comments on commit 9fa813c

Please sign in to comment.