Coverage for /wheeldirectory/casa-6.7.0-12-py3.10.el8/lib/py/lib/python3.10/site-packages/casatasks/private/task_clearstat.py: 80%
5 statements
« prev ^ index » next coverage.py v7.6.4, created at 2024-10-31 19:10 +0000
« prev ^ index » next coverage.py v7.6.4, created at 2024-10-31 19:10 +0000
1import os
3from casatools import table
4_tb = table( )
6def clearstat():
7 """Clear all read/write locks on tables. This can be used if a task has
8 indicated that it is trying to get a lock on a file.
10 """
11 _tb.clearlocks( )