Skip to content

Commit 89367fe

Browse files
committed
version 2.0
1 parent dd5b2f3 commit 89367fe

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

ena_upload/ena_upload.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -359,12 +359,11 @@ def get_cmd_line(schema_xmls, url, webin_id, password):
359359
'''
360360

361361

362-
server = '{}%20{}%20{}'.format(url, webin_id, password)
363362
sources = ['-F {}=@{}'.format(schema.upper(), source)
364363
for schema, source in schema_xmls.items()]
365364
sources = ' '.join(sources)
366365

367-
cmd_line = 'curl -k {} {}'.format(sources, server)
366+
cmd_line = 'curl -u {}:{} {} {}'.format(webin_id, password, sources, url)
368367

369368
return cmd_line
370369

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
setup(
1010
name='ena-upload-cli',
11-
version='0.1.9',
11+
version='0.2.0',
1212
keywords=["pip", "ena-upload-cli", "cli", "ENA", "upload"],
1313
description='Command Line Interface to upload data to the European Nucleotide Archive',
1414
author="Dilmurat Yusuf",

0 commit comments

Comments
 (0)