Mercurial > repos > yating-l > gonramp_apollo_tools
annotate apolloUserManager.xml @ 0:ce4f91831680 draft default tip
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
author | yating-l |
---|---|
date | Fri, 16 Feb 2018 10:57:13 -0500 |
parents | |
children |
rev | line source |
---|---|
0
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
1 <tool id="apollo_user_manager" name="Apollo User Manager" version="1.0.0"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
2 <description> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
3 This Galaxy tool is used to manage Apollo users. |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
4 </description> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
5 <macros> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
6 <import>macros.xml</import> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
7 </macros> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
8 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
9 <requirements> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
10 <requirement type="package" version="3.0.3">apollo_api</requirement> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
11 </requirements> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
12 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
13 <stdio> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
14 </stdio> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
15 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
16 <command detect_errors="exit_code"><![CDATA[ |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
17 mkdir -p $output.extra_files_path; |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
18 ## Dump the tool parameters into a JSON file |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
19 python $json_file parameters.json; |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
20 python $__tool_directory__/apolloUserManager.py --data_json parameters.json -o $output |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
21 ]]></command> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
22 <configfiles> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
23 <configfile name="json_file"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
24 import json |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
25 import sys |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
26 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
27 file_path = sys.argv[1] |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
28 #set global data_parameter_dict = {"operations": dict()} |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
29 ## Function to retrieve the data of the inputs |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
30 #def prepare_json($operation_type, $data_dict, $batch) |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
31 #silent $data_dict.update({"batch": str($batch)}) |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
32 #if $operation_type in $data_parameter_dict["operations"] |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
33 #silent $data_parameter_dict["operations"][$operation_type].append($data_dict) |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
34 #else |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
35 #set array_inputs = [] |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
36 #silent $array_inputs.append($data_dict) |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
37 #silent $data_parameter_dict["operations"].update({$operation_type: $array_inputs}) |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
38 #end if |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
39 #end def |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
40 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
41 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
42 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
43 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
44 #for $i, $f in enumerate($operation) |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
45 #if $f.operation_type_selector.operation_type == "create" |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
46 #set batch = $f.operation_type_selector.batch_selector.batch |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
47 #if $batch == "false" |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
48 #set data_dict = {"useremail": str($f.operation_type_selector.batch_selector.user_email), |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
49 "firstname": str($f.operation_type_selector.batch_selector.firstname), |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
50 "lastname": str($f.operation_type_selector.batch_selector.lastname), |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
51 "password": str($f.operation_type_selector.batch_selector.password)} |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
52 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
53 #else |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
54 #set data_dict = {"format": str($f.operation_type_selector.batch_selector.format), |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
55 "false_path": str($f.operation_type_selector.batch_selector.user_info_file)} |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
56 #end if |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
57 #silent $prepare_json("create", $data_dict, $batch) |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
58 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
59 #elif $f.operation_type_selector.operation_type == "delete" |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
60 #set batch = $f.operation_type_selector.batch_selector.batch |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
61 #if $batch == "false" |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
62 #set data_dict = {"useremail": str($f.operation_type_selector.batch_selector.user_email)} |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
63 #else |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
64 #set data_dict = {"format": str($f.operation_type_selector.batch_selector.format), |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
65 "false_path": str($f.operation_type_selector.batch_selector.user_info_file)} |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
66 #end if |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
67 #silent $prepare_json("delete", $data_dict, $batch) |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
68 #elif $f.operation_type_selector.operation_type == "add" |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
69 #set batch = $f.operation_type_selector.batch_selector.batch |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
70 #if $batch == "false" |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
71 #set data_dict = {"useremail": str($f.operation_type_selector.batch_selector.user_email), |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
72 "group": str($f.operation_type_selector.batch_selector.group_name)} |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
73 #else |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
74 #set data_dict = {"format": str($f.operation_type_selector.batch_selector.format), |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
75 "false_path": str($f.operation_type_selector.batch_selector.user_info_file)} |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
76 #end if |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
77 #silent $prepare_json("add", $data_dict, $batch) |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
78 #elif $f.operation_type_selector.operation_type == "remove" |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
79 #set batch = $f.operation_type_selector.batch_selector.batch |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
80 #if $batch == "false" |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
81 #set data_dict = {"useremail": str($f.operation_type_selector.batch_selector.user_email), |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
82 "group": str($f.operation_type_selector.batch_selector.group_name)} |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
83 #else |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
84 #set data_dict = {"format": str($f.operation_type_selector.batch_selector.format), |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
85 "false_path": str($f.operation_type_selector.batch_selector.user_info_file)} |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
86 #end if |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
87 #silent $prepare_json("remove", $data_dict, $batch) |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
88 #end if |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
89 #end for |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
90 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
91 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
92 #set apollo_admin = {"user_email": str($admin_username), "password": str($admin_password)} |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
93 #silent $data_parameter_dict.update({"apollo_admin": $apollo_admin}) |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
94 #silent $data_parameter_dict.update({"tool_directory": str($__tool_directory__)}) |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
95 #silent $data_parameter_dict.update({"extra_files_path": str($output.extra_files_path)}) |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
96 #silent $data_parameter_dict.update({"port": str($advanced_options.port)}) |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
97 #silent $data_parameter_dict.update({"debug_mode": str($advanced_options.debug_mode)}) |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
98 with open(file_path, 'w') as f: |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
99 json.dump($data_parameter_dict, f) |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
100 </configfile> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
101 </configfiles> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
102 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
103 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
104 <inputs> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
105 <param name="admin_username" type="text" label="Admin username" help="Login in with Apollo admin account"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
106 <sanitizer> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
107 <valid initial="string.letters,string.digits"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
108 <add value="@-=_.()/+*^,:?!"/> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
109 </valid> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
110 </sanitizer> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
111 </param> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
112 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
113 <param |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
114 name="admin_password" |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
115 type="text" |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
116 label="Admin password" |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
117 /> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
118 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
119 <repeat name="operation" title="New operation"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
120 <conditional name="operation_type_selector" > |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
121 <param name="operation_type" type="select" label="Create a user, delete a user, add a user to a group or remove a user from a group"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
122 <option value="create">Create a user</option> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
123 <option value="delete">Delete a users</option> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
124 <option value="add">Add a user to a group</option> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
125 <option value="remove">Remove a user from a group</option> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
126 </param> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
127 <when value="create"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
128 <conditional name="batch_selector"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
129 <param name="batch" type="select" label="Manipulate a single user or multiple users"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
130 <option value="false" selected="true">Single user</option> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
131 <option value="true">Multiple users</option> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
132 </param> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
133 <when value="false"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
134 <param name="user_email" type="text" label="User email" help="Specify the user email"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
135 <sanitizer> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
136 <valid initial="string.letters,string.digits"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
137 <add value="@-=_.()/+*^,:?!"/> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
138 </valid> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
139 </sanitizer> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
140 </param> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
141 <param name="firstname" type="text" label="First name" /> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
142 <param name="lastname" type="text" label="Last name" /> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
143 <param name="password" type="text" label="Password" /> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
144 </when> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
145 <when value="true"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
146 <expand macro="upload_text_file" /> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
147 </when> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
148 </conditional> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
149 </when> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
150 <when value="delete"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
151 <conditional name="batch_selector"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
152 <param name="batch" type="select" label="Manipulate a single user or multiple users"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
153 <option value="false" selected="true">Single user</option> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
154 <option value="true">Multiple users</option> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
155 </param> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
156 <when value="false"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
157 <param name="user_email" type="text" label="User email" help="Specify the user email"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
158 <sanitizer> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
159 <valid initial="string.letters,string.digits"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
160 <add value="@-=_.()/+*^,:?!"/> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
161 </valid> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
162 </sanitizer> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
163 </param> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
164 </when> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
165 <when value="true"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
166 <expand macro="upload_text_file" /> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
167 </when> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
168 </conditional> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
169 </when> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
170 <when value="add"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
171 <conditional name="batch_selector"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
172 <param name="batch" type="select" label="Manipulate a single user or multiple users"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
173 <option value="false" selected="true">Single user</option> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
174 <option value="true">Multiple users</option> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
175 </param> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
176 <when value="false"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
177 <param name="user_email" type="text" label="User email" help="Specify the user email"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
178 <sanitizer> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
179 <valid initial="string.letters,string.digits"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
180 <add value="@-=_.()/+*^,:?!"/> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
181 </valid> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
182 </sanitizer> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
183 </param> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
184 <param type="text" name="group_name" size="30" value="unknown" label="Group name" /> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
185 </when> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
186 <when value="true"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
187 <expand macro="upload_text_file" /> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
188 </when> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
189 </conditional> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
190 </when> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
191 <when value="remove"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
192 <conditional name="batch_selector"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
193 <param name="batch" type="select" label="Manipulate a single user or multiple users"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
194 <option value="false" selected="true">Single user</option> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
195 <option value="true">Multiple users</option> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
196 </param> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
197 <when value="false"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
198 <param name="user_email" type="text" label="User email" help="Specify the user email"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
199 <sanitizer> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
200 <valid initial="string.letters,string.digits"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
201 <add value="@-=_.()/+*^,:?!"/> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
202 </valid> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
203 </sanitizer> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
204 </param> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
205 <param type="text" name="group_name" size="30" value="unknown" label="Group name" /> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
206 </when> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
207 <when value="true"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
208 <expand macro="upload_text_file" /> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
209 </when> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
210 </conditional> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
211 </when> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
212 </conditional> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
213 </repeat> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
214 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
215 <conditional name="advanced_options"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
216 <param name="advanced_options_selector" type="select" label="Advanced options"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
217 <option value="off" selected="true">Hide advanced options</option> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
218 <option value="on">Display advanced options</option> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
219 </param> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
220 <!-- TODO: Avoid redundancy here --> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
221 <when value="on"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
222 <param name="port" type="integer" min="8000" max="8888" value="8080" label="Port number of Apollo" /> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
223 <param name="debug_mode" type="select" label="Activate debug mode"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
224 <option value="false" selected="true">No</option> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
225 <option value="true">Yes</option> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
226 <help> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
227 Use this option if you are a G-OnRamp developer |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
228 </help> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
229 </param> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
230 </when> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
231 <when value="off"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
232 <param name="port" type="hidden" value="8080" /> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
233 <param name="debug_mode" type="hidden" |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
234 value="false"> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
235 </param> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
236 </when> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
237 </conditional> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
238 </inputs> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
239 <outputs> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
240 <data format="txt" name="output" label="${tool.name} on ${on_string}" /> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
241 </outputs> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
242 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
243 <help> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
244 This Galaxy tool is used to manage Apollo users.The currently supported operation including: |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
245 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
246 - Create a new user |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
247 - Delete a user |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
248 - Add a user to a group (If the group doesn't exist, create the group) |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
249 - Remove a user to a group |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
250 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
251 The tool can do these operations on one student at a time. It can also do the operations on multiple students at a time by uploading a text file, which including students information. |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
252 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
253 The text file can be either CSV (comma-delimited) or Tabular (tab-delimited). It should have a header line, including names for each column. Example text files: |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
254 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
255 Text file for creating multiple users: |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
256 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
257 .. csv-table:: |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
258 :header: "useremail", "firstname", "lastname", "password" |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
259 :widths: 20, 10, 10, 10 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
260 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
261 "test1@demo.com", "test1", "demo", "1234" |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
262 "test2@demo.com", "test2", "demo", "1234" |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
263 "test3@demo.com", "test3", "demo", "1234" |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
264 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
265 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
266 Text file for deleting multiple users: |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
267 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
268 .. csv-table:: |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
269 :header: "useremail" |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
270 :widths: 20 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
271 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
272 "test1@demo.com" |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
273 "test2@demo.com" |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
274 "test3@demo.com" |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
275 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
276 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
277 Text file for adding / removing multiple users from a group: |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
278 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
279 .. csv-table:: |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
280 :header: "useremail", "group" |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
281 :widths: 20, 20 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
282 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
283 "test1@demo.com", "annotation_group1" |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
284 "test2@demo.com", "annotation_group1" |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
285 "test3@demo.com", "annotation_group1" |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
286 |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
287 </help> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
288 <citations> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
289 </citations> |
ce4f91831680
planemo upload for repository https://github.com/Yating-L/suite_gonramp_apollo.git commit 5367a00befb467f162d1870edb91f9face72e894
yating-l
parents:
diff
changeset
|
290 </tool> |