10000 FIX: Address numpy and traits deprecations by effigies · Pull Request #3699 · nipy/nipype · GitHub
[go: up one dir, main page]

Skip to content

FIX: Address numpy and traits deprecations #3699

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Nov 18, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: Replace recfromcsv to genfromtxt
  • Loading branch information
effigies committed Nov 18, 2024
commit ea4164c2c904b3b3c6f940e4e27589cdfc33de19
4 changes: 3 additions & 1 deletion nipype/interfaces/nitime/tests/test_nitime.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ def test_coherence_analysis(tmpdir):

# This is the nitime analysis:
TR = 1.89
data_rec = np.recfromcsv(example_data("fmri_timeseries.csv"))
data_rec = np.genfromtxt(
example_data("fmri_timeseries.csv"), delimiter=',', names=True
)
roi_names = np.array(data_rec.dtype.names)
n_samples = data_rec.shape[0]
data = np.zeros((len(roi_names), n_samples))
Expand Down
0