seer-pas-sdk 1.1.0__py3-none-any.whl → 1.1.1__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.
@@ -902,14 +902,15 @@ class _UnsupportedSDK(_SeerSDK):
902
902
  json={"files": files},
903
903
  )
904
904
 
905
- if (
906
- file_response.status_code != 200
907
- or not file_response.json()
908
- or "created" not in file_response.json()
909
- ):
905
+ if file_response.status_code != 200:
910
906
  raise ServerError("Could not upload MS Files to PAS.")
911
- result_files = file_response.json()["files"]
912
-
907
+ result_files = file_response.json()
908
+ try:
909
+ result_files = result_files["files"]
910
+ except Exception:
911
+ raise ServerError(
912
+ "Unexpected response from PAS server. Please ensure you are using the latest version of SeerSDK."
913
+ )
913
914
  # omit tenant_id from return file path
914
915
  for result in result_files:
915
916
  result["filePath"] = "/".join(result["filePath"].split("/")[1:])
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: seer-pas-sdk
3
- Version: 1.1.0
3
+ Version: 1.1.1
4
4
  Summary: SDK for Seer Proteograph Analysis Suite (PAS)
5
5
  Author-email: Ryan Sun <rsun@seer.bio>
6
6
  License:
@@ -6,14 +6,14 @@ seer_pas_sdk/common/errors.py,sha256=4HFORWnaQQCMXRE8kwdsJWvQRB_3KFEZ7yMb391e4gA
6
6
  seer_pas_sdk/common/groupanalysis.py,sha256=DxB-gbQfYzl7p9MTYWDIqghcH-IeakzdYdrRZrlIHek,1730
7
7
  seer_pas_sdk/core/__init__.py,sha256=rxbKgg-Qe24OaxX2zyHHYPYgDCTEKE_-41bB2wvpvL4,25
8
8
  seer_pas_sdk/core/sdk.py,sha256=OKN7z11hm0Uzx-1yO3YxiN4OCar_4tjDwpKQBjzXeD0,160092
9
- seer_pas_sdk/core/unsupported.py,sha256=7iAY2vrOq49YNXLzSMrEOK3f9wJhpTx8UyGBjMymLxI,68919
9
+ seer_pas_sdk/core/unsupported.py,sha256=SicgUHz1j-aLfcTvkWiSDMAm9D58VEv0YX-3PGQybec,69047
10
10
  seer_pas_sdk/objects/__init__.py,sha256=r-lY7axLTzToAI-Dme019YfcJLDe2ok1f_e6OQx3j64,130
11
11
  seer_pas_sdk/objects/groupanalysis.py,sha256=x3D_5NmYBoPDilNCQqUoCFARIfIeUq4FBY3_N6u8tfM,994
12
12
  seer_pas_sdk/objects/headers.py,sha256=RilNzB_Nhid3U8j93BxJYcRrgDmd_1bAuI0P465xd0g,2727
13
13
  seer_pas_sdk/objects/platemap.py,sha256=8IvJPAecs_e_FyqibzhCw-O4zjCFnf-zMUp_5krTEsg,5864
14
14
  seer_pas_sdk/objects/volcanoplot.py,sha256=lTrTOVg74nT3uo-P1edQJC1ZbdoiLMtQ3VJd9CnzmoM,9396
15
- seer_pas_sdk-1.1.0.dist-info/licenses/LICENSE.txt,sha256=DVQuDIgE45qn836wDaWnYhSdxoLXgpRRKH4RuTjpRZQ,10174
16
- seer_pas_sdk-1.1.0.dist-info/METADATA,sha256=wcrzQ-A0gt3XJV3_km9Cuo02K2wOUBoCJb2NFrmHwSc,13413
17
- seer_pas_sdk-1.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
18
- seer_pas_sdk-1.1.0.dist-info/top_level.txt,sha256=-2kZ-KFMGtXwr8H1O5llMKlcJ8gRKohEmrIvazXB61s,13
19
- seer_pas_sdk-1.1.0.dist-info/RECORD,,
15
+ seer_pas_sdk-1.1.1.dist-info/licenses/LICENSE.txt,sha256=DVQuDIgE45qn836wDaWnYhSdxoLXgpRRKH4RuTjpRZQ,10174
16
+ seer_pas_sdk-1.1.1.dist-info/METADATA,sha256=iJFudniVKIcZBOqPmBtG2-3CC08RVN702_xBjXCciyg,13413
17
+ seer_pas_sdk-1.1.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
18
+ seer_pas_sdk-1.1.1.dist-info/top_level.txt,sha256=-2kZ-KFMGtXwr8H1O5llMKlcJ8gRKohEmrIvazXB61s,13
19
+ seer_pas_sdk-1.1.1.dist-info/RECORD,,