
     i6
                        d Z dZ G d de          Zd Z	 ddlZddlZddlZddlmZm	Z	m
Z
mZ d e            v r eed	          s ed
          dS dS # e$ rZ eee          suddlZddlZd                     ee                    Z ej        e            ej        d                              d                     ee                                e            ZexZ	xZ
ZY dZ[dS dZ[ww xY w)a  Stub file for a guaranteed safe import of duecredit constructs:  if duecredit
is not available.

To use it, place it into your project codebase to be imported, e.g. copy as

    cp stub.py /path/tomodule/module/due.py

Note that it might be better to avoid naming it duecredit.py to avoid shadowing
installed duecredit.

Then use in your code as

    from .due import due, Doi, BibTeX

See  https://github.com/duecredit/duecredit/blob/master/README.md for examples.

Origin:     Originally a part of the duecredit
Copyright:  2015-2016  DueCredit developers
License:    BSD-2

Modified for MDAnalysis to avoid calls to fork which raises cryptic
warning under MPI(see PR #1794 for rationale)

z0.0.5c                   0    e Zd ZdZd Zd ZexZxZZd Z	dS )InactiveDueCreditCollectorz8Just a stub at the Collector which would not do anythingc                     dS zPerform no good and no badN )selfargskwargss      X/srv/www/vhosts/g4struct/public_html/venv/lib/python3.11/site-packages/MDAnalysis/due.py
_donothingz%InactiveDueCreditCollector._donothing#   s        c                     d }|S )zIf I could cite I wouldc                     | S )Nr   )funcs    r
   nondecorating_decoratorzAInactiveDueCreditCollector.dcite.<locals>.nondecorating_decorator*   s    Kr   r   )r   r   r	   r   s       r
   dcitez InactiveDueCreditCollector.dcite'   s    	 	 	 '&r   c                      | j         j        dz   S )Nz())	__class____name__)r   s    r
   __repr__z#InactiveDueCreditCollector.__repr__1   s    ~&--r   N)
r   
__module____qualname____doc__r   r   citeloadaddr   r   r   r
   r   r       sX        BB  ' ' ' #"D"4#. . . . .r   r   c                      dS r   r   )r   r	   s     r
   _donothing_funcr   5   s    Dr       N)dueBibTeXDoiUrlr   r   z3Imported due lacks .cite. DueCredit is now disabledz$Failed to import duecredit due to {}	duecredit)r   __version__objectr   r   sysosr#   r   r    r!   r"   localshasattrRuntimeError	Exceptionerr
isinstanceImportErrorloggingwarningsformatstrerrmsgwarn	getLoggererrorr   r   r
   <module>r7      s   2 . . . . . . . .*	 	 	
) JJJIII////////////f!5!5lA
 
 	
   ) ) ):c;'' 
7>>ss3xxHHf+&&,,299##c((CC	
 	
 	
 %
$
&
&C((F(S3333333!)s   ;A C7BC22C7