pybiolib 1.2.744__py3-none-any.whl → 1.2.749__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- biolib/experiments/experiment.py +19 -0
- {pybiolib-1.2.744.dist-info → pybiolib-1.2.749.dist-info}/METADATA +1 -1
- {pybiolib-1.2.744.dist-info → pybiolib-1.2.749.dist-info}/RECORD +6 -6
- {pybiolib-1.2.744.dist-info → pybiolib-1.2.749.dist-info}/LICENSE +0 -0
- {pybiolib-1.2.744.dist-info → pybiolib-1.2.749.dist-info}/WHEEL +0 -0
- {pybiolib-1.2.744.dist-info → pybiolib-1.2.749.dist-info}/entry_points.txt +0 -0
    
        biolib/experiments/experiment.py
    CHANGED
    
    | @@ -197,6 +197,25 @@ class Experiment: | |
| 197 197 |  | 
| 198 198 | 
             
                    return jobs
         | 
| 199 199 |  | 
| 200 | 
            +
                def get_results(self, status: Optional[str] = None) -> List[Job]:
         | 
| 201 | 
            +
                    r"""Get a list of results in this experiment, optionally filtered by status.
         | 
| 202 | 
            +
             | 
| 203 | 
            +
                    Args:
         | 
| 204 | 
            +
                        status (str, optional): Filter results by status. One of:
         | 
| 205 | 
            +
                            'in_progress', 'completed', 'failed', 'cancelled'
         | 
| 206 | 
            +
             | 
| 207 | 
            +
                    Returns:
         | 
| 208 | 
            +
                        List[Job]: List of result objects in this experiment
         | 
| 209 | 
            +
             | 
| 210 | 
            +
                    Example::
         | 
| 211 | 
            +
             | 
| 212 | 
            +
                        >>> # Get all results in the experiment
         | 
| 213 | 
            +
                        >>> results = experiment.get_results()
         | 
| 214 | 
            +
                        >>> # Get only completed results
         | 
| 215 | 
            +
                        >>> completed_results = experiment.get_results(status='completed')
         | 
| 216 | 
            +
                    """
         | 
| 217 | 
            +
                    return self.get_jobs(status=status)
         | 
| 218 | 
            +
             | 
| 200 219 | 
             
                def rename(self, destination: str) -> None:
         | 
| 201 220 | 
             
                    api.client.patch(f'/resources/{self.uuid}/', data={'uri': destination})
         | 
| 202 221 | 
             
                    self._refetch()
         | 
| @@ -110,7 +110,7 @@ biolib/compute_node/webserver/webserver_types.py,sha256=2t8EaFKESnves3BA_NBdnS2y | |
| 110 110 | 
             
            biolib/compute_node/webserver/webserver_utils.py,sha256=XWvwYPbWNR3qS0FYbLLp-MDDfVk0QdaAmg3xPrT0H2s,4234
         | 
| 111 111 | 
             
            biolib/compute_node/webserver/worker_thread.py,sha256=7uD9yQPhePYvP2HCJ27EeZ_h6psfIWFgqm1RHZxzobs,12483
         | 
| 112 112 | 
             
            biolib/experiments/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
         | 
| 113 | 
            -
            biolib/experiments/experiment.py,sha256= | 
| 113 | 
            +
            biolib/experiments/experiment.py,sha256=OTUPOY_F5qo22oFi3acnRMmG0pcmP6ZfoQncFkcTYDQ,9478
         | 
| 114 114 | 
             
            biolib/jobs/__init__.py,sha256=aIb2H2DHjQbM2Bs-dysFijhwFcL58Blp0Co0gimED3w,32
         | 
| 115 115 | 
             
            biolib/jobs/job.py,sha256=X33-s9u8x3uZI0x_fSDgEFAW0ke-8Qi96M-VB-W29MA,26703
         | 
| 116 116 | 
             
            biolib/jobs/job_result.py,sha256=rALHiKYNaC9lHi_JJqBob1RubzNLwG9Z386kwRJjd2M,5885
         | 
| @@ -130,8 +130,8 @@ biolib/utils/cache_state.py,sha256=u256F37QSRIVwqKlbnCyzAX4EMI-kl6Dwu6qwj-Qmag,3 | |
| 130 130 | 
             
            biolib/utils/multipart_uploader.py,sha256=XvGP1I8tQuKhAH-QugPRoEsCi9qvbRk-DVBs5PNwwJo,8452
         | 
| 131 131 | 
             
            biolib/utils/seq_util.py,sha256=Ozk0blGtPur_D9MwShD02r_mphyQmgZkx-lOHOwnlIM,6730
         | 
| 132 132 | 
             
            biolib/utils/zip/remote_zip.py,sha256=0wErYlxir5921agfFeV1xVjf29l9VNgGQvNlWOlj2Yc,23232
         | 
| 133 | 
            -
            pybiolib-1.2. | 
| 134 | 
            -
            pybiolib-1.2. | 
| 135 | 
            -
            pybiolib-1.2. | 
| 136 | 
            -
            pybiolib-1.2. | 
| 137 | 
            -
            pybiolib-1.2. | 
| 133 | 
            +
            pybiolib-1.2.749.dist-info/LICENSE,sha256=F2h7gf8i0agDIeWoBPXDMYScvQOz02pAWkKhTGOHaaw,1067
         | 
| 134 | 
            +
            pybiolib-1.2.749.dist-info/METADATA,sha256=hAUHVeH2pyZYFKHncVnsKqV6m2q0J29O_Qs2PUFyrIM,1570
         | 
| 135 | 
            +
            pybiolib-1.2.749.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
         | 
| 136 | 
            +
            pybiolib-1.2.749.dist-info/entry_points.txt,sha256=p6DyaP_2kctxegTX23WBznnrDi4mz6gx04O5uKtRDXg,42
         | 
| 137 | 
            +
            pybiolib-1.2.749.dist-info/RECORD,,
         | 
| 
            File without changes
         | 
| 
            File without changes
         | 
| 
            File without changes
         |