pybioos 0.0.8__py3-none-any.whl → 0.0.10__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.

Potentially problematic release.


This version of pybioos might be problematic. Click here for more details.

bioos/__about__.py CHANGED
@@ -1,4 +1,4 @@
1
1
  # coding:utf-8
2
2
 
3
3
  # Package version
4
- __version__ = "0.0.8"
4
+ __version__ = "0.0.10"
bioos/resource/files.py CHANGED
@@ -25,8 +25,14 @@ class FileResource(metaclass=SingletonType):
25
25
  res = Config.service().get_tos_access({
26
26
  'WorkspaceID': self.workspace_id,
27
27
  }) # 这里触发的是后端的返回行为,返回值无定义python类型
28
- self.endpoint = s3_endpoint_mapping(res["Endpoint"])
29
- self.region = res["Region"]
28
+
29
+ if "Endpoint" in res and "Region" in res:
30
+ self.endpoint = s3_endpoint_mapping(res["Endpoint"])
31
+ self.region = res["Region"]
32
+ else:
33
+ self.endpoint = "https://tos.miracle.ac.cn"
34
+ self.region = "cn-guangzhou-swd"
35
+
30
36
  self.tos_handler = TOSHandler( #需要注意
31
37
  tos.TosClientV2( # 2.6.6中tos下还要有一层
32
38
  ak=None,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pybioos
3
- Version: 0.0.8
3
+ Version: 0.0.10
4
4
  Summary: BioOS SDK for Python
5
5
  Home-page: https://github.com/GBA-BI/pybioos
6
6
  Author: Jilong Liu
@@ -13,12 +13,15 @@ Classifier: Intended Audience :: Science/Research
13
13
  Classifier: Topic :: Scientific/Engineering :: Bio-Informatics
14
14
  Classifier: Topic :: Scientific/Engineering :: Interface Engine/Protocol Translator
15
15
  License-File: LICENSE
16
- Requires-Dist: volcengine >=1.0.61
17
- Requires-Dist: tabulate >=0.8.10
18
- Requires-Dist: click >=8.0.0
19
- Requires-Dist: pandas >=1.3.0
20
- Requires-Dist: tos ==2.5.6
21
- Requires-Dist: cachetools >=5.2.0
22
- Requires-Dist: typing-extensions >=4.4.0
23
- Requires-Dist: apscheduler >=3.10.4
16
+ Requires-Dist: volcengine (>=1.0.61)
17
+ Requires-Dist: tabulate (>=0.8.10)
18
+ Requires-Dist: click (>=8.0.0)
19
+ Requires-Dist: pandas (>=1.3.0)
20
+ Requires-Dist: tos (==2.5.6)
21
+ Requires-Dist: cachetools (>=5.2.0)
22
+ Requires-Dist: typing-extensions (>=4.4.0)
23
+ Requires-Dist: apscheduler (>=3.10.4)
24
+ Requires-Dist: colorama (>=0.4.6)
25
+
26
+ UNKNOWN
24
27
 
@@ -1,4 +1,4 @@
1
- bioos/__about__.py,sha256=S-qMzzzb7amyeH5C3229HozDtsV41Ix6nMhbMX1Yf1E,56
1
+ bioos/__about__.py,sha256=xqyenh4qgEVEamwr8r7nRnZzpy0QkfOB3ezup4q3IDk,57
2
2
  bioos/__init__.py,sha256=4GZKi13lDTD25YBkGakhZyEQZWTER_OWQMNPoH_UM2c,22
3
3
  bioos/bioos.py,sha256=fHzOb1l5wYxw6NVYYZDiFcgk4V28BAgWEc3ev12reWs,2409
4
4
  bioos/bioos_workflow.py,sha256=LbKxK7Otzj9apJciI3jg_cfh92x9aZGlUyN5ZRAdZeU,14127
@@ -11,7 +11,7 @@ bioos/models/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
11
11
  bioos/models/models.py,sha256=HPCLZ4jK2HDth4vrlVHba21CiW6y7y5im1kOjV4adc8,391
12
12
  bioos/resource/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
13
13
  bioos/resource/data_models.py,sha256=enKp8yyQI8IbRqe--0Xtyg1XzOwQQPQzoQsx_hNuZ6E,5089
14
- bioos/resource/files.py,sha256=zMxsLg1CfZyrgvMesphMz-qROU-38fE_E8XtN9DlWtE,8281
14
+ bioos/resource/files.py,sha256=1HY0IHvq8H843VM2XZIHDdCuXXNcMrlEFhSNqWXmFzE,8456
15
15
  bioos/resource/utility.py,sha256=emY7qVLLLvGmQYlVj-_bLAxU7i1GfQOUybdRkfEDwVA,1300
16
16
  bioos/resource/workflows.py,sha256=A-fEUqPGuCmqZNNaW1zc8cozFJoQcg8bzXSyI2ZLypM,19724
17
17
  bioos/resource/workspaces.py,sha256=Gmr8y_sjK7TQbhMhQ_7rxqR1KFcwU72I95YYCFrrLBQ,3995
@@ -30,9 +30,9 @@ bioos/tests/workspaces.py,sha256=LuuRrTs2XqfE5mGQyJNl9RBtuMb4NZHBJFoO8HMZVYQ,522
30
30
  bioos/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
31
31
  bioos/utils/common_tools.py,sha256=fgMoE_-qZjgfQtUj_pmCTyYDtbJasyfH4Gm3VQsbgBQ,1651
32
32
  bioos/utils/workflows.py,sha256=zRbwTUigoM5V5LFOgzQPm3kwxt5Ogz95OFfefJc6Fjo,133
33
- pybioos-0.0.8.dist-info/LICENSE,sha256=cPkGXsgfPgEhIns7Lt3Avxx0Uy-VbdsoP8jvNGuj3cE,1063
34
- pybioos-0.0.8.dist-info/METADATA,sha256=DlRjedNt0uI6a6N386GLDyKK-12yFUfqBR5Y7_vHVks,770
35
- pybioos-0.0.8.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
36
- pybioos-0.0.8.dist-info/entry_points.txt,sha256=8TRx1zyu7ja3x5RNaeFxeiYTj_-tiWydbuSulxi3TM0,59
37
- pybioos-0.0.8.dist-info/top_level.txt,sha256=llpzydkKVDSaWZgz3bsTUsQmhoQpc_JcRJg2-H-5a2U,6
38
- pybioos-0.0.8.dist-info/RECORD,,
33
+ pybioos-0.0.10.dist-info/LICENSE,sha256=cPkGXsgfPgEhIns7Lt3Avxx0Uy-VbdsoP8jvNGuj3cE,1063
34
+ pybioos-0.0.10.dist-info/METADATA,sha256=Binn0QE48FHz1ICmKInQckAsCfoujLO0gdvWi8bqY7c,830
35
+ pybioos-0.0.10.dist-info/WHEEL,sha256=OqRkF0eY5GHssMorFjlbTIq072vpHpF60fIQA6lS9xA,92
36
+ pybioos-0.0.10.dist-info/entry_points.txt,sha256=NrGR_JbvjxLWg01AwdWPxltBXobwiPEyZwj9jZgaZhQ,60
37
+ pybioos-0.0.10.dist-info/top_level.txt,sha256=llpzydkKVDSaWZgz3bsTUsQmhoQpc_JcRJg2-H-5a2U,6
38
+ pybioos-0.0.10.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.42.0)
2
+ Generator: bdist_wheel (0.36.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,2 +1,3 @@
1
1
  [console_scripts]
2
2
  bw = bioos.bioos_workflow:bioos_workflow
3
+