Skip to content

API Documentation Missing #559

@Jan-Willem

Description

@Jan-Willem

The API documentation (https://xradio.readthedocs.io/en/latest/measurement_set/api.html) is missing for:

        convert_msv2_to_processing_set,
        estimate_conversion_memory_and_cores,

I suspect this is due to the conditionals in xradio/src/xradio/measurement_set/init.py

import warnings

from .processing_set_xdt import ProcessingSetXdt
from .open_processing_set import open_processing_set
from .load_processing_set import load_processing_set
from .measurement_set_xdt import MeasurementSetXdt
from .schema import SpectrumXds, VisibilityXds

__all__ = [
    "ProcessingSetXdt",
    "MeasurementSetXdt",
    "open_processing_set",
    "load_processing_set",
    "SpectrumXds",
    "VisibilityXds",
]

try:
    from .convert_msv2_to_processing_set import (
        convert_msv2_to_processing_set,
        estimate_conversion_memory_and_cores,
    )
except ModuleNotFoundError as exc:
    warnings.warn(
        f"Could not import the function to convert from MSv2 to MSv4. "
        f"That functionality will not be available. Details: {exc}",
        UserWarning,
    )
else:
    __all__.extend(
        ["convert_msv2_to_processing_set", "estimate_conversion_memory_and_cores"]
    )

or it might be due to a missing dependency on readthedocs: https://github.com/casangi/xradio/blob/main/docs/sphinx.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocumentationImprovements or additions to documentation

    Type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions