Skip to content

Commit

Permalink
version 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
bedroesb committed Sep 24, 2020
1 parent dd5b2f3 commit 89367fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions ena_upload/ena_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,12 +359,11 @@ def get_cmd_line(schema_xmls, url, webin_id, password):
'''


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

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

return cmd_line

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

setup(
name='ena-upload-cli',
version='0.1.9',
version='0.2.0',
keywords=["pip", "ena-upload-cli", "cli", "ENA", "upload"],
description='Command Line Interface to upload data to the European Nucleotide Archive',
author="Dilmurat Yusuf",
Expand Down

0 comments on commit 89367fe

Please sign in to comment.