@@ -846,15 +846,21 @@ def calc_moments(timeseries_file, moment):
846
846
class Distance ( nam .Distance ):
847
847
def __init__ (self , ** inputs ):
848
848
super (nam .Distance , self ).__init__ (** inputs )
849
- warnings .warn ("This interface has been moved from misc to metrics" , DeprecationWarning )
849
+ warnings .warn (("This interface has been deprecated since 0.10.0,"
850
+ " please use nipype.algorithms.metrics.Distance" ),
851
+ DeprecationWarning )
850
852
851
853
class Overlap ( nam .Overlap ):
852
854
def __init__ (self , ** inputs ):
853
855
super (nam .Overlap , self ).__init__ (** inputs )
854
- warnings .warn ("This interface has been moved from misc to metrics" , DeprecationWarning )
856
+ warnings .warn (("This interface has been deprecated since 0.10.0,"
857
+ " please use nipype.algorithms.metrics.Overlap" ),
858
+ DeprecationWarning )
855
859
856
860
857
861
class FuzzyOverlap ( nam .FuzzyOverlap ):
858
862
def __init__ (self , ** inputs ):
859
863
super (nam .FuzzyOverlap , self ).__init__ (** inputs )
860
- warnings .warn ("This interface has been moved from misc to metrics" , DeprecationWarning )
864
+ warnings .warn (("This interface has been deprecated since 0.10.0,"
865
+ " please use nipype.algorithms.metrics.FuzzyOverlap" ),
866
+ DeprecationWarning )
0 commit comments