corems.molecular_id.search.priorityAssignment

Legacy oxygen-priority molecular formula assignment (retired).

Canonical formula assignment uses ~corems.molecular_id.search.molecularFormulaSearch.SearchMolecularFormulas (DI / FT-ICR) or ~corems.molecular_id.search.molecularFormulaSearch.SearchMolecularFormulasLC (LC-MS). FindOxygenPeaks remains available for oxygen-series utilities and calibration workflows.

 1"""Legacy oxygen-priority molecular formula assignment (retired).
 2
 3Canonical formula assignment uses
 4:class:`~corems.molecular_id.search.molecularFormulaSearch.SearchMolecularFormulas`
 5(DI / FT-ICR) or
 6:class:`~corems.molecular_id.search.molecularFormulaSearch.SearchMolecularFormulasLC`
 7(LC-MS). :class:`FindOxygenPeaks` remains available for oxygen-series utilities
 8and calibration workflows.
 9"""
10
11
12class OxygenPriorityAssignment:
13    """Removed oxygen-priority formula assignment strategy.
14
15    This class is no longer supported. Use
16    :class:`~corems.molecular_id.search.molecularFormulaSearch.SearchMolecularFormulas`
17    for molecular formula assignment. Construction raises
18    :class:`NotImplementedError`. The name is retained as a stub until the next
19    major release.
20
21    Parameters
22    ----------
23    *args
24        Ignored; retained only for call-site compatibility.
25    **kwargs
26        Ignored; retained only for call-site compatibility.
27    """
28
29    def __init__(self, *args, **kwargs) -> None:
30        raise NotImplementedError(
31            "OxygenPriorityAssignment is no longer supported. "
32            "Use SearchMolecularFormulas for molecular formula assignment. "
33            "This stub will be removed in the next major release."
34        )
class OxygenPriorityAssignment:
13class OxygenPriorityAssignment:
14    """Removed oxygen-priority formula assignment strategy.
15
16    This class is no longer supported. Use
17    :class:`~corems.molecular_id.search.molecularFormulaSearch.SearchMolecularFormulas`
18    for molecular formula assignment. Construction raises
19    :class:`NotImplementedError`. The name is retained as a stub until the next
20    major release.
21
22    Parameters
23    ----------
24    *args
25        Ignored; retained only for call-site compatibility.
26    **kwargs
27        Ignored; retained only for call-site compatibility.
28    """
29
30    def __init__(self, *args, **kwargs) -> None:
31        raise NotImplementedError(
32            "OxygenPriorityAssignment is no longer supported. "
33            "Use SearchMolecularFormulas for molecular formula assignment. "
34            "This stub will be removed in the next major release."
35        )

Removed oxygen-priority formula assignment strategy.

This class is no longer supported. Use ~corems.molecular_id.search.molecularFormulaSearch.SearchMolecularFormulas for molecular formula assignment. Construction raises NotImplementedError. The name is retained as a stub until the next major release.

Parameters
  • *args: Ignored; retained only for call-site compatibility.
  • **kwargs: Ignored; retained only for call-site compatibility.
OxygenPriorityAssignment(*args, **kwargs)
30    def __init__(self, *args, **kwargs) -> None:
31        raise NotImplementedError(
32            "OxygenPriorityAssignment is no longer supported. "
33            "Use SearchMolecularFormulas for molecular formula assignment. "
34            "This stub will be removed in the next major release."
35        )