Skip to content

Commit

Permalink
Merge pull request #303 from galaxyproject/302-dataset-import-history
Browse files Browse the repository at this point in the history
302 dataset import history
  • Loading branch information
ksuderman authored Jul 13, 2024
2 parents b2c71a9 + 71f9aea commit 2b3e2be
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions abm/lib/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ def upload(context: Context, args: list):
return
if gi is None:
gi = connect(context)
history = find_history(gi, history)
if name:
_import_from_url(gi, history, url, file_name=name)
else:
Expand Down
4 changes: 2 additions & 2 deletions abm/lib/menu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,15 @@
menu:
- name: ['upload', 'up']
handler: dataset.upload
params: PATH [-id HISTORY_ID | -c "History name"]
params: PATH [--history "History name_or_id" | -c|--create "History name"] [-m|--name "Dataset name"]
help: upload a dataset to the server from the specified URL
- name: ['download', 'dl']
handler: dataset.download
params: ID PATH
help: download a dataset from the server
- name: ['import', 'imp']
handler: dataset.import_from_config
params: '[--hs|--hist|--history HISTORY_ID | -c|--create "History name"] KEY [KEY...]'
params: '[--hs|--hist|--history HISTORY_ID | -c|--create "History name"] [-m|--name "Dataset name"] KEY [KEY...]'
help: imports one or more datasets to the server from a URL specified in the datasets.yml config file.
- name: ['list', 'ls']
handler: dataset.do_list
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
bioblend
pyyaml
planemo
cloudlaunch-cli
cloudlaunch-cli

0 comments on commit 2b3e2be

Please sign in to comment.