Coverage for pesummary/gw/file/conversions.py: 0.0%

7 statements  

« prev     ^ index     » next       coverage.py v7.4.4, created at 2024-05-02 08:42 +0000

1# Licensed under an MIT style license -- see LICENSE.md 

2 

3from pesummary.utils.decorators import deprecation 

4 

5__author__ = ["Charlie Hoy <charlie.hoy@ligo.org>"] 

6 

7 

8class _Conversion(object): 

9 @deprecation( 

10 "The _Conversion class will be deprecated in future releases. Please " 

11 "use pesummary.gw.conversions.convert" 

12 ) 

13 def __new__(cls, *args, **kwargs): 

14 from pesummary.gw.conversions import convert 

15 return convert(*args, **kwargs)