forked from bgruening/docker-ipython-notebook
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathget
More file actions
15 lines (12 loc) · 595 Bytes
/
get
File metadata and controls
15 lines (12 loc) · 595 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env python
import argparse
from galaxy import get
if __name__ == '__main__':
parser = argparse.ArgumentParser(description='Get datasets from Galaxy.')
parser.add_argument('-i', '--id', type=int,
required = True,
help='The dataset ID from your Galaxy history.')
parser.add_argument('--history-id', dest="history_id", default=None,
help='History ID. The history ID and the dataset ID uniquly identify a dataset. Per default this is set to the current Galaxy history.')
args = parser.parse_args()
print( get( args.id, args.history_id ) )