Skip to content

Commit

Permalink
Merge pull request #274 from Image-X-Institute/bug_fix/update_pandas_…
Browse files Browse the repository at this point in the history
…call

found another pandas future warning
  • Loading branch information
bwheelz36 authored Feb 21, 2024
2 parents 5f35ec2 + 4767167 commit 653f1bd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mri_distortion_toolkit/MarkerAnalysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ def _match_crosshair(search_centroids, reference_centroids):

# Calculate the distance between each marker and central position
ground_truth['r_centre'] = ground_truth.apply(
lambda row: np.sqrt((row[0] - central_x) ** 2 + (row[1] - central_y) ** 2 + (row[2] - central_z) ** 2),
lambda row: np.sqrt((row.iloc[0] - central_x) ** 2 + (row.iloc[1] - central_y) ** 2 + (row.iloc[2] - central_z) ** 2),
axis=1)

# Find the crosshair reference markers
Expand Down
2 changes: 1 addition & 1 deletion mri_distortion_toolkit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
https://acrf-image-x-institute.github.io/MRI_DistortionQA/index.html
"""

__version__ = '0.14.9'
__version__ = '0.14.10'
try:
import FreeCAD
except ImportError:
Expand Down

0 comments on commit 653f1bd

Please sign in to comment.