
    Opd                        d Z ddlZddlZddlZddlZdZdZdZd Z	d Z
ej                  d        Zej                  d	        Zej                  d
        Zej                  d        Zej                  d        Zej                  d        Zy)z= Configuration for modules with independent tests of models.     NzMichal Stolarczykzmichal.stolarczyk@nih.govmasterc           	      :   t         j                  j                  t         j                  j                  t         j                  j                  t         j                  j	                  t
                          dddj                  |       dj                  |            S )Ntestsdatazexample_peps-{}z
example_{})ospathjoindirnameabspath__file__format)
pep_branchdirectory_names     .lib/python3.12/site-packages/tests/conftest.pymerge_pathsr      sc    77<<
(ABC  ,N+     c                 V    t         j                  j                  t        | |      |      S )N)r   r   r	   r   )branchr   	file_names      r   get_path_to_example_filer      s    77<<FN;YGGr   c                 8    t        t        | j                  d      S )Nproject_config.yamlr   EPBparamrequests    r   example_pep_cfg_pathr      s    #C8MNNr   c                 8    t        t        | j                  d      S )Nsample_table.csvr   r   s    r   example_pep_csv_pathr!   #   s    #C8JKKr   c                  $    t        t        dd      S )Nnextflow_taxprofiler_pepzsamplesheet.csv)r   r    r   r   example_pep_nextflow_csv_pathr%   (   s    #C)CEVWWr   c                 8    t        t        d| j                        S )Nnonamer   r   s    r   example_pep_cfg_noname_pathr(   -   s    #C7==AAr   c                 ^    | j                   D cg c]  }t        t        |d       c}S c c}w )z
    This is the same as the ficture above, however, it lets
    you return multiple paths (for comparing peps). Will return
    list of paths.
    r   )r   r   r   )r   ps     r   example_peps_cfg_pathsr+   2   s2     JQDE a)>?  s   *c                 j    t        j                  t        t        | j                  d      t
              S )Nr    )dtype)pdread_csvr   r   r   strr   s    r   config_with_pandas_objr1   >   s'    ;; gmm5GHPS r   )__doc__r   pandasr.   pytestjson
__author__	__email__r   r   r   fixturer   r!   r%   r(   r+   r1   r$   r   r   <module>r9      s    C 	    
'	 H O O L L X X B B    r   