
     i                        d Z  G d de          Z G d dee          Z G d de          Z G d de          Z	 G d	 d
e          Z
 G d de          Z G d de          Z G d de          Z G d de          ZdS )z
Custom exceptions and warnings --- :mod:`MDAnalysis.exceptions`
===============================================================

c                       e Zd ZdZdS )SelectionErrorz$Raised when a atom selection failed.N__name__
__module____qualname____doc__     _/srv/www/vhosts/g4struct/public_html/venv/lib/python3.11/site-packages/MDAnalysis/exceptions.pyr   r      s        ....r
   r   c                       e Zd ZdZdS )NoDataErroraC  Raised when empty input is not allowed or required data are missing.

    This exception is raised in the following scenarios:

    * Raised when a :class:`~MDAnalysis.core.topologyattrs.TopologyAttr`
      (e.g., bonds, charges) is not present in the data.

    * Raised when data is missing in an analysis class because the `run()`
      method has not been called, e.g.
      :class:`~MDAnalysis.analysis.polymer.PersistenceLength`.

    * Raised when timestep data is missing, such as positions, velocities,
      or forces.

    * Raised in the `nojump` transformation if there is no box information
      in the universe.

    This exception should not be raised in cases where arrays have zero width,
    or AtomGroups are empty.

    .. versionchanged:: 1.0.0
        Now a subclass of AttributeError as well as ValueError
    Nr   r	   r
   r   r   r   #   s           r
   r   c                       e Zd ZdZdS )ApplicationErrorzRaised when an external application failed.

    The error code is specific for the application.

    .. versionadded:: 0.7.7
    Nr   r	   r
   r   r   r   =   s           r
   r   c                       e Zd ZdZdS )SelectionWarningz7Warning indicating a possible problem with a selection.Nr   r	   r
   r   r   r   F   s        AAAAr
   r   c                       e Zd ZdZdS )MissingDataWarningz5Warning indicating is that required data are missing.Nr   r	   r
   r   r   r   J   s        ????r
   r   c                       e Zd ZdZdS )ConversionWarningz;Warning indicating a problem with converting between units.Nr   r	   r
   r   r   r   N   s        EEEEr
   r   c                       e Zd ZdZdS )FileFormatWarningz8Warning indicating possible problems with a file format.Nr   r	   r
   r   r   r   R   s        BBBBr
   r   c                       e Zd ZdZdS )StreamWarninga  Warning indicating a possible problem with a stream.

    :exc:`StreamWarning` is used when streams are substituted for simple access
    by filename (see in particular
    :class:`~MDAnalysis.lib.util.NamedStream`). This does not work everywhere
    in MDAnalysis (yet).
    Nr   r	   r
   r   r   r   V   s           r
   r   c                       e Zd ZdZdS )DuplicateWarninga  Warning indicating possible problems arising from an
    :class:`~MDAnalysis.core.groups.AtomGroup` /
    :class:`~MDAnalysis.core.groups.ResidueGroup` /
    :class:`~MDAnalysis.core.groups.SegmentGroup` containing duplicate
    :class:`Atoms<MDAnalysis.core.groups.Atom>` /
    :class:`Residues<MDAnalysis.core.groups.Residue>` /
    :class:`Segments<MDAnalysis.core.groups.Segment>`.


    .. versionadded:: 0.19.0
    Nr   r	   r
   r   r   r   `   s        
 
 
 
r
   r   N)r   	Exceptionr   
ValueErrorAttributeErrorr   OSErrorr   Warningr   r   r   r   r   UserWarningr   r	   r
   r   <module>r"      s  0 / / / / /Y / / /    *n   4    w   B B B B Bw B B B@ @ @ @ @ @ @ @F F F F F F F FC C C C C C C C    G       {     r
   