Coverage for /wheeldirectory/casa-6.7.0-12-py3.10.el8/lib/py/lib/python3.10/site-packages/casatasks/private/task_listhistory.py: 100%

8 statements  

« prev     ^ index     » next       coverage.py v7.6.4, created at 2024-11-01 07:19 +0000

1import os 

2 

3from casatools import ms 

4 

5_ms = ms( ) 

6 

7def listhistory(vis=None): 

8 """List the processing history of a dataset: 

9 The list of all task processing steps will be 

10 given in the logger. 

11 

12 Keyword arguments: 

13 vis -- Name of input visibility file (MS) 

14 default: none; example: vis='ngc5921.ms' 

15 

16 """ 

17 #Python script 

18 try: 

19 _ms.open(vis) 

20 _ms.listhistory() 

21 finally: 

22 _ms.close()