Skip to content

Commit

Permalink
Merge pull request #1140 from celprov/fix/np.float
Browse files Browse the repository at this point in the history
FIX: replace np.float by np.float64
  • Loading branch information
effigies authored Sep 13, 2023
2 parents 5f95281 + dfa369f commit 180ee3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mriqc/interfaces/functional.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def _run_interface(self, runtime):

# FD
fd_data = np.loadtxt(self.inputs.in_fd, skiprows=1)
num_fd = np.float((fd_data > self.inputs.fd_thres).sum())
num_fd = (fd_data > self.inputs.fd_thres).sum()
self._results["fd"] = {
"mean": float(fd_data.mean()),
"num": int(num_fd),
Expand Down

0 comments on commit 180ee3b

Please sign in to comment.