Closed sjperkins closed 5 years ago
In python-casacore, opening WSRT.MS::SOURCE opens the SOURCE via the WSRT.MS table, while WSRT.MS/SOURCE opens the SOURCE table directly.
The first approach can result in the sub-table's locks interacting with those of the main table, preventing writes in particular.
Internally, dask-ms uses the second approach since we're not supporting TAQL queries. However, dask-ms still expects the first approach in the xds_{from,to}_table interface as it informs dask-ms about the link between the main and sub-table. In particular, this is used to transparently place a "Table: " keyword in WSRT.MS to inform it that "SOURCE" is now a subtable.
Table path inspection has also been cleaned up and made more consistent.
[x] Tests added / passed
If the pep8 tests fail, the quickest way to correct this is to run
autopep8
and thenflake8
andpycodestyle
to fix the remaining issues.[x] Fully documented, including
HISTORY.rst
for all changes and one of thedocs/*-api.rst
files for new APITo build the docs locally: