Coverage for /home/casatest/venv/lib/python3.12/site-packages/casatasks/private/task_listhistory.py: 50%
8 statements
« prev ^ index » next coverage.py v7.10.4, created at 2025-08-21 07:43 +0000
« prev ^ index » next coverage.py v7.10.4, created at 2025-08-21 07:43 +0000
1import os
3from casatools import ms
5_ms = ms( )
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.
12 Keyword arguments:
13 vis -- Name of input visibility file (MS)
14 default: none; example: vis='ngc5921.ms'
16 """
17 #Python script
18 try:
19 _ms.open(vis)
20 _ms.listhistory()
21 finally:
22 _ms.close()