ellipsis 3.2.5__py3-none-any.whl → 3.2.7__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 ellipsis might be problematic. Click here for more details.
- ellipsis/__init__.py +1 -1
- ellipsis/compute/root.py +5 -3
- {ellipsis-3.2.5.dist-info → ellipsis-3.2.7.dist-info}/METADATA +1 -1
- {ellipsis-3.2.5.dist-info → ellipsis-3.2.7.dist-info}/RECORD +7 -7
- {ellipsis-3.2.5.dist-info → ellipsis-3.2.7.dist-info}/LICENSE +0 -0
- {ellipsis-3.2.5.dist-info → ellipsis-3.2.7.dist-info}/WHEEL +0 -0
- {ellipsis-3.2.5.dist-info → ellipsis-3.2.7.dist-info}/top_level.txt +0 -0
ellipsis/__init__.py
CHANGED
ellipsis/compute/root.py
CHANGED
|
@@ -52,9 +52,10 @@ def execute(computeId, f, token, awaitTillCompleted=True):
|
|
|
52
52
|
raise ValueError('parameter f must be a function')
|
|
53
53
|
|
|
54
54
|
f_bytes = dill.dumps(f)
|
|
55
|
-
f_string = base64.b64encode(f_bytes)
|
|
56
|
-
|
|
55
|
+
f_string = base64.b64encode( f_bytes )
|
|
56
|
+
f_string = str(f_string)[2: -1]
|
|
57
57
|
body = { 'file':f_string}
|
|
58
|
+
|
|
58
59
|
apiManager.post('/compute/' + computeId + '/execute', body, token)
|
|
59
60
|
|
|
60
61
|
while awaitTillCompleted:
|
|
@@ -152,7 +153,8 @@ def addToLayer(response, pathId, timestampId, token):
|
|
|
152
153
|
memfile = BytesIO()
|
|
153
154
|
memfile = downloadFile(url, token, memfile=memfile)
|
|
154
155
|
print('read file ' + url.split('/')[-1])
|
|
155
|
-
|
|
156
|
+
print('adding file ' + url.split('/')[-1])
|
|
157
|
+
addFile(pathId = pathId, timestampId=timestampId, token = token, fileFormat='tif', memFile=memfile, name= url.split('/')[-1] + '.tif' )
|
|
156
158
|
print('file ' + url.split('/')[-1] + ' added to layer')
|
|
157
159
|
activate(pathId=pathId, timestampId=timestampId, token=token)
|
|
158
160
|
print('layer can now be found at ' + apiManager.baseUrl + '/drive/me?pathId=' + pathId )
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
ellipsis/__init__.py,sha256=
|
|
1
|
+
ellipsis/__init__.py,sha256=Fp0S3vEy7OglOryHyopp12uwMBVOqMoSG9nVhQeX69s,237
|
|
2
2
|
ellipsis/apiManager.py,sha256=iX6XFwilMfuCQYioAmgRgReL8W63FUBr3UC506ucIF4,5603
|
|
3
3
|
ellipsis/sanitize.py,sha256=VuTPjHAUNCGUaOzKU2ojloiEN8kPhm53fIjbk6E9IEg,10597
|
|
4
4
|
ellipsis/account/__init__.py,sha256=jTmwL9HVS27vAHPC_2a98RQJWbpSKBN4ptiXpY0qJgk,101
|
|
@@ -6,7 +6,7 @@ ellipsis/account/root.py,sha256=p8AehZQizaPlpGdFB5RsMduyUF4ynN0cGDz41nIxjYM,1942
|
|
|
6
6
|
ellipsis/account/accessToken/__init__.py,sha256=ivwhK1eC4g74PAKaeTReb1QhIpKXyvmfdqZV6wDY-EY,66
|
|
7
7
|
ellipsis/account/accessToken/root.py,sha256=TYo8wTyWyzytaqOTsuQC-Vn3y7BhYMC88EItZafpISA,1281
|
|
8
8
|
ellipsis/compute/__init__.py,sha256=zcjm8GX1kSi5PEK5CXsR3wc2wxBdy3EIMo_y1sFEguQ,115
|
|
9
|
-
ellipsis/compute/root.py,sha256=
|
|
9
|
+
ellipsis/compute/root.py,sha256=cmf3ZReM4m9XS37v0qMkqXEF0ScaFM_flPx3V1ryl_o,6182
|
|
10
10
|
ellipsis/path/__init__.py,sha256=NzdcTpXpicdrBWLgsFP6WY7ARIBKUFnkwa5VuB1Qdpc,506
|
|
11
11
|
ellipsis/path/root.py,sha256=GqiYjAkdSchkQf1NzcSFZvBrmoQir7K2fqmZosqghFM,7953
|
|
12
12
|
ellipsis/path/bookmark/__init__.py,sha256=vNrqGcWl5MN_xVAiClP6W6NilmsV-fqYOnJukbYcNwc,56
|
|
@@ -67,8 +67,8 @@ ellipsis/user/__init__.py,sha256=um_b42pc2otFiQRGqMajcEtONQpC2ei4r-EY3j7bsfQ,43
|
|
|
67
67
|
ellipsis/user/root.py,sha256=dsMK6wGBdeCmOd3YsbIv9cEcQ6tAiSGr0jmtBhQl5-0,484
|
|
68
68
|
ellipsis/util/__init__.py,sha256=_sNBUXDKJVGffRyt93xdUrJ4gON651Sp-unr7LKVCEc,756
|
|
69
69
|
ellipsis/util/root.py,sha256=3pw-tXGTQC5PMUtpReJEA9rgyJZNlTM3uUISPz2Sq6Q,23976
|
|
70
|
-
ellipsis-3.2.
|
|
71
|
-
ellipsis-3.2.
|
|
72
|
-
ellipsis-3.2.
|
|
73
|
-
ellipsis-3.2.
|
|
74
|
-
ellipsis-3.2.
|
|
70
|
+
ellipsis-3.2.7.dist-info/LICENSE,sha256=7EI8xVBu6h_7_JlVw-yPhhOZlpY9hP8wal7kHtqKT_E,1074
|
|
71
|
+
ellipsis-3.2.7.dist-info/METADATA,sha256=Ywc7n-Ncs2GI9AUfCzyUXGwWkAxMcT6DcWSzYlcO1ZQ,1842
|
|
72
|
+
ellipsis-3.2.7.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
73
|
+
ellipsis-3.2.7.dist-info/top_level.txt,sha256=eG8gfaVDyprKdb-dsGSh_lFMSa3DiZCsJFqze239RjA,9
|
|
74
|
+
ellipsis-3.2.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|