Skip to content
This repository was archived by the owner on Dec 27, 2022. It is now read-only.

Commit d147bc8

Browse files
committed
added a thing to remove warnings but it doesn't seem to work
1 parent 4f9c93b commit d147bc8

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

dmriprep/cli.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77
from . import io
88
from .data import get_dataset
99
import os
10+
import warnings
11+
12+
# Filter warnings that are visible whenever you import another package that
13+
# was compiled against an older numpy than is installed.
14+
warnings.filterwarnings("ignore", message="numpy.dtype size changed")
15+
warnings.filterwarnings("ignore", message="numpy.ufunc size changed")
1016

1117

1218
@click.command()

0 commit comments

Comments
 (0)