diff --git a/NIST/traditional/__init__.py b/NIST/traditional/__init__.py index 88007726a248b1f145cae997a80492878405832f..fe55f30ee91112545bb23f4faf01af9acb860971 100644 --- a/NIST/traditional/__init__.py +++ b/NIST/traditional/__init__.py @@ -61,10 +61,6 @@ class NIST( object ): # ############################################################################ - @deprecated( "user the read() function instead" ) - def loadFromFile( self, infile ): - return self.read( infile ) - def read( self, infile ): """ Open the 'infile' file and transmit the data to the 'load' function. @@ -727,6 +723,10 @@ class NIST_deprecated( NIST ): compatibility). To use it, load the NISTf_deprecated class instead of the NISTf super class. """ + @deprecated( "user the read() function instead" ) + def loadFromFile( self, infile ): + return self.read( infile ) + @deprecated( "use the write() function instead" ) def saveToFile( self, outfile ): return self.write( outfile )