pybiolib 1.1.2036__py3-none-any.whl → 1.1.2038__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/jobs/job.py CHANGED
@@ -60,10 +60,7 @@ class Job:
60
60
  @property
61
61
  def result(self) -> JobResult:
62
62
  if not self._result:
63
- if self.get_status() == 'completed':
64
- self._result = JobResult(job_uuid=self._uuid, job_auth_token=self._auth_token)
65
- else:
66
- raise BioLibError(f"Result is not available for {self._uuid}: status is {self._job_dict['state']}.")
63
+ self._result = JobResult(job_uuid=self._uuid, job_auth_token=self._auth_token)
67
64
 
68
65
  return self._result
69
66
 
biolib/jobs/job_result.py CHANGED
@@ -35,7 +35,10 @@ class JobResult:
35
35
  return self._get_module_output().get_exit_code()
36
36
 
37
37
  def save_files(
38
- self, output_dir: str, path_filter: Optional[PathFilter] = None, skip_file_if_exists: Optional[bool] = None
38
+ self,
39
+ output_dir: str,
40
+ path_filter: Optional[PathFilter] = None,
41
+ skip_file_if_exists: Optional[bool] = None,
39
42
  ) -> None:
40
43
  module_output = self._get_module_output()
41
44
  output_files = module_output.get_files()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pybiolib
3
- Version: 1.1.2036
3
+ Version: 1.1.2038
4
4
  Summary: BioLib Python Client
5
5
  Home-page: https://github.com/biolib
6
6
  License: MIT
@@ -89,8 +89,8 @@ biolib/experiments/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuF
89
89
  biolib/experiments/experiment.py,sha256=IMjnokTc9ZEKUjpsM_JnFolh9HsLbjXus_xKBb2ypJ8,7219
90
90
  biolib/experiments/types.py,sha256=n9GxdFA7cLMfHvLLqLmZzX31ELeSSkMXFoEEdFsdWGY,171
91
91
  biolib/jobs/__init__.py,sha256=aIb2H2DHjQbM2Bs-dysFijhwFcL58Blp0Co0gimED3w,32
92
- biolib/jobs/job.py,sha256=aWKnf_2pYdr76gh3hxPiVs2iuXlpwZkKPTK81Pz4G2U,19072
93
- biolib/jobs/job_result.py,sha256=qj4H8LQFtHqJzLik0lvpZDAIXJptalIwqt7CvpXAB9g,5860
92
+ biolib/jobs/job.py,sha256=npnARoP408SXD2UqyzFRJYdEJsP_gHoBh2xQkNegYqg,18884
93
+ biolib/jobs/job_result.py,sha256=rALHiKYNaC9lHi_JJqBob1RubzNLwG9Z386kwRJjd2M,5885
94
94
  biolib/jobs/types.py,sha256=qhadtH2KDC2WUOOqPiwke0YgtQY4FtuB71Stekq1k48,970
95
95
  biolib/lfs/__init__.py,sha256=Qv8vdYeK43JecT4SsE93ZYE2VmNiZENdNpW8P9-omxs,115
96
96
  biolib/lfs/cache.py,sha256=pQS2np21rdJ6I3DpoOutnzPHpLOZgUIS8TMltUJk_k4,2226
@@ -109,8 +109,8 @@ biolib/utils/cache_state.py,sha256=u256F37QSRIVwqKlbnCyzAX4EMI-kl6Dwu6qwj-Qmag,3
109
109
  biolib/utils/multipart_uploader.py,sha256=XvGP1I8tQuKhAH-QugPRoEsCi9qvbRk-DVBs5PNwwJo,8452
110
110
  biolib/utils/seq_util.py,sha256=jC5WhH63FTD7SLFJbxQGA2hOt9NTwq9zHl_BEec1Z0c,4907
111
111
  biolib/utils/zip/remote_zip.py,sha256=0wErYlxir5921agfFeV1xVjf29l9VNgGQvNlWOlj2Yc,23232
112
- pybiolib-1.1.2036.dist-info/LICENSE,sha256=F2h7gf8i0agDIeWoBPXDMYScvQOz02pAWkKhTGOHaaw,1067
113
- pybiolib-1.1.2036.dist-info/METADATA,sha256=jnDPVQpyei11ZP9m3YnzsgTMA2cvFq97xlWwDi8q_8g,1508
114
- pybiolib-1.1.2036.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
115
- pybiolib-1.1.2036.dist-info/entry_points.txt,sha256=p6DyaP_2kctxegTX23WBznnrDi4mz6gx04O5uKtRDXg,42
116
- pybiolib-1.1.2036.dist-info/RECORD,,
112
+ pybiolib-1.1.2038.dist-info/LICENSE,sha256=F2h7gf8i0agDIeWoBPXDMYScvQOz02pAWkKhTGOHaaw,1067
113
+ pybiolib-1.1.2038.dist-info/METADATA,sha256=egfRWzBO8-r0fKEdCvVcZHQAXCUzf7zwmQEutCJElHc,1508
114
+ pybiolib-1.1.2038.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
115
+ pybiolib-1.1.2038.dist-info/entry_points.txt,sha256=p6DyaP_2kctxegTX23WBznnrDi4mz6gx04O5uKtRDXg,42
116
+ pybiolib-1.1.2038.dist-info/RECORD,,