-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #810 from mgxd/mnt/dep-reports
MNT: Add PendingDeprecationWarning to nireports modules
- Loading branch information
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import warnings | ||
|
||
msg = ( | ||
'Niworkflows will be deprecating reporting in favor of a standalone library "nireports".' | ||
) | ||
|
||
warnings.warn(msg, PendingDeprecationWarning) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
# emacs: -*- mode: python; py-indent-offset: 4; indent-tabs-mode: nil -*- | ||
# vi: set ft=python sts=4 ts=4 sw=4 et: | ||
import warnings | ||
|
||
from .plots import plot_carpet | ||
from .utils import SVGNS | ||
|
||
msg = ( | ||
'Niworkflows will be deprecating visualizations in favor of a standalone library "nireports".' | ||
) | ||
|
||
warnings.warn(msg, PendingDeprecationWarning) | ||
|
||
__all__ = ["plot_carpet", "SVGNS"] |