geoseeq 0.6.14.dev4__py3-none-any.whl → 0.6.14.dev5__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.
- geoseeq/cli/download.py +1 -1
- geoseeq/cli/main.py +1 -1
- geoseeq/result/file_download.py +4 -2
- {geoseeq-0.6.14.dev4.dist-info → geoseeq-0.6.14.dev5.dist-info}/METADATA +1 -1
- {geoseeq-0.6.14.dev4.dist-info → geoseeq-0.6.14.dev5.dist-info}/RECORD +9 -9
- {geoseeq-0.6.14.dev4.dist-info → geoseeq-0.6.14.dev5.dist-info}/LICENSE +0 -0
- {geoseeq-0.6.14.dev4.dist-info → geoseeq-0.6.14.dev5.dist-info}/WHEEL +0 -0
- {geoseeq-0.6.14.dev4.dist-info → geoseeq-0.6.14.dev5.dist-info}/entry_points.txt +0 -0
- {geoseeq-0.6.14.dev4.dist-info → geoseeq-0.6.14.dev5.dist-info}/top_level.txt +0 -0
geoseeq/cli/download.py
CHANGED
@@ -379,10 +379,10 @@ def cli_download_ids(state, cores, target_dir, file_name, yes, download, head, i
|
|
379
379
|
|
380
380
|
|
381
381
|
def _get_sample_result_files_with_names(sample, module_name=None, first=False):
|
382
|
+
result_files_with_names = []
|
382
383
|
for read_type, folder in sample.get_all_fastqs().items():
|
383
384
|
if module_name and module_name != read_type:
|
384
385
|
continue
|
385
|
-
result_files_with_names = []
|
386
386
|
for folder_name, result_files in folder.items():
|
387
387
|
for lane_num, result_file in enumerate(result_files):
|
388
388
|
lane_num = lane_num + 1 # 1 indexed
|
geoseeq/cli/main.py
CHANGED
@@ -55,7 +55,7 @@ def version():
|
|
55
55
|
Use of this tool implies acceptance of the GeoSeeq End User License Agreement.
|
56
56
|
Run `geoseeq eula show` to view the EULA.
|
57
57
|
"""
|
58
|
-
click.echo('0.6.
|
58
|
+
click.echo('0.6.14dev5') # remember to update pyproject.toml
|
59
59
|
|
60
60
|
|
61
61
|
@main.group('advanced')
|
geoseeq/result/file_download.py
CHANGED
@@ -107,7 +107,9 @@ def download_url(url, kind='guess', filename=None, head=None, progress_tracker=N
|
|
107
107
|
elif kind == 'ftp':
|
108
108
|
return download_ftp(url, filename, head=head)
|
109
109
|
elif kind == 'http':
|
110
|
-
# for http[s] files we care about head is often respected in practice (e.g. by the ENA)
|
110
|
+
# for http[s] files we care about head is often respected in practice (e.g. by the ENA)
|
111
|
+
if not url.startswith("http"):
|
112
|
+
url = "https://" + url
|
111
113
|
return _download_head(url, filename, head=head, progress_tracker=progress_tracker)
|
112
114
|
else:
|
113
115
|
raise ValueError(f"Unknown download kind: {kind}")
|
@@ -179,7 +181,7 @@ class ResultFileDownload:
|
|
179
181
|
|
180
182
|
url = self.get_download_url()
|
181
183
|
filepath = download_url(
|
182
|
-
url, blob_type, filename,
|
184
|
+
url, kind=blob_type, filename=filename,
|
183
185
|
head=head, progress_tracker=progress_tracker,
|
184
186
|
)
|
185
187
|
if cache and flag_suffix:
|
@@ -20,11 +20,11 @@ geoseeq/cli/__init__.py,sha256=4WnK87K5seRK3SGJAxNWnQTqyg5uBhdhrOrzB1D4b3M,24
|
|
20
20
|
geoseeq/cli/constants.py,sha256=Do5AUf9lMO9_P8KpFJ3XwwFBAWsxSjZ6sx9_QEGyC_c,176
|
21
21
|
geoseeq/cli/copy.py,sha256=02U9kdrAIbbM8MlRMLL6p-LMYFSuRObE3h5jyvcL__M,2275
|
22
22
|
geoseeq/cli/detail.py,sha256=q8Suu-j2k18knfSVFG-SWWGNsKM-n8y9RMA3LcIIi9Y,4132
|
23
|
-
geoseeq/cli/download.py,sha256=
|
23
|
+
geoseeq/cli/download.py,sha256=cOLIVzAfxpOJnSd4WKWR-HCkOrKjPMbgYaNXDSd9i90,21305
|
24
24
|
geoseeq/cli/fastq_utils.py,sha256=-bmeQLaiMBm57zWOF0R5OlWTU0_3sh1JBC1RYw2BOFM,3083
|
25
25
|
geoseeq/cli/find_grn.py,sha256=oMDxkzGQBQb2_cCuvmwoeHOsFHqyO9RLeJzrB6bAe5M,439
|
26
26
|
geoseeq/cli/get_eula.py,sha256=79mbUwyiF7O1r0g6UTxG9kJGQEqKuH805E6eLkPC6Y4,997
|
27
|
-
geoseeq/cli/main.py,sha256=
|
27
|
+
geoseeq/cli/main.py,sha256=EL5VL2rB3e6TNi8ZaHH1adGV_9SOE-cUKty1i6hK1W8,3987
|
28
28
|
geoseeq/cli/manage.py,sha256=wGXAcVaXqE5JQEU8Jh6OlHr02nB396bpS_SFcOZdrEo,5929
|
29
29
|
geoseeq/cli/progress_bar.py,sha256=p1Xl01nkYxSBZCB30ue2verIIi22W93m3ZAMAxipD0g,738
|
30
30
|
geoseeq/cli/project.py,sha256=V5SdXm2Hwo2lxrkpwRDedw-mAE4XnM2uwT-Gj1D90VQ,3030
|
@@ -68,7 +68,7 @@ geoseeq/plotting/map/overlay.py,sha256=4VmxqOESTQra9tPr8b8OLEUhJSit9lNipabeSznEY
|
|
68
68
|
geoseeq/result/__init__.py,sha256=IFHIyRV8ZzuKIfwfze1SXgcKwNMcSgMAknLHMkwjXIU,356
|
69
69
|
geoseeq/result/bioinfo.py,sha256=QQtbyogrdro9avJSN0713sxLVnVeA24mFw3hWtKDKyw,1782
|
70
70
|
geoseeq/result/file_chunker.py,sha256=bXq1csuRtqMB5sbH-AfWo6gdPwrivv5DJPuHVj-h08w,1758
|
71
|
-
geoseeq/result/file_download.py,sha256=
|
71
|
+
geoseeq/result/file_download.py,sha256=5IXg_dIWlrRHBJQssO42da5_bIJOyH0_b8K2KWVAFBE,8210
|
72
72
|
geoseeq/result/file_upload.py,sha256=xs1DrI-h4ZP7xN8HPBc3SFpcPAxR5HAolraP1Zu7tvE,10648
|
73
73
|
geoseeq/result/result_file.py,sha256=A2PIdkuNY0czXLXPenSRdUPdCFdjJGGqs3nBOflNwnA,9099
|
74
74
|
geoseeq/result/result_folder.py,sha256=-m1lDVLpNHKy-JUGihboVzvdMJEnHossyRnxmBe1XLo,11140
|
@@ -87,9 +87,9 @@ geoseeq/vc/vc_stub.py,sha256=IQr8dI0zsWKVAeY_5ybDD6n49_3othcgfHS3P0O9tuY,3110
|
|
87
87
|
tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
88
88
|
tests/test_api_client.py,sha256=TS5njc5pcPP_Ycy-ljcfPVT1hQRBsFVdQ0lCqBmoesU,12810
|
89
89
|
tests/test_plotting.py,sha256=TcTu-2ARr8sxZJ7wPQxmbs3-gHw7uRvsgrhhhg0qKik,784
|
90
|
-
geoseeq-0.6.14.
|
91
|
-
geoseeq-0.6.14.
|
92
|
-
geoseeq-0.6.14.
|
93
|
-
geoseeq-0.6.14.
|
94
|
-
geoseeq-0.6.14.
|
95
|
-
geoseeq-0.6.14.
|
90
|
+
geoseeq-0.6.14.dev5.dist-info/LICENSE,sha256=IuhIl1XCxXLPLJT_coN1CNqQU4Khlq7x4IdW7ioOJD8,1067
|
91
|
+
geoseeq-0.6.14.dev5.dist-info/METADATA,sha256=SCO_zG5oJC5KNM_nAOb1p0cQgSrSWWIBs5FXpxYDbpI,4937
|
92
|
+
geoseeq-0.6.14.dev5.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
93
|
+
geoseeq-0.6.14.dev5.dist-info/entry_points.txt,sha256=yF-6KDM8zXib4Al0qn49TX-qM7PUkWUIcYtsgt36rjM,45
|
94
|
+
geoseeq-0.6.14.dev5.dist-info/top_level.txt,sha256=zZk7mmeaqAYqFJG8nq2DTgSQPbflRjJwkDIhNURPDEU,14
|
95
|
+
geoseeq-0.6.14.dev5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|