Commit 7111b8d3 authored by Jerome Mariette's avatar Jerome Mariette
Browse files

add user handling from ergatis

parent 37dabe94
......@@ -37,11 +37,9 @@ if __name__ == '__main__':
# Define input options
igroup = OptionGroup(parser, "Input options","")
igroup.add_option("-a", "--date", help="The run date in dd/mm/yyyy format.", dest="date", type="string")
igroup.add_option("-b", "--fe-group-parent", help="The project fe group parent name.", dest="fe_group_parent", type="string")
igroup.add_option("-d", "--description", help="Run description.", dest="description", type="string")
igroup.add_option("-e", "--name", help="The run name.", dest="name", type="string")
igroup.add_option("-g", "--fe-group", help="The project fe group name allowed for this project.", dest="fe_group", type="string")
igroup.add_option("-i", "--fe-group-description", help="The project fe group description.", dest="fe_group_description", type="string")
igroup.add_option("-g", "--admin-login", help="The project administrator login.", dest="admin_login", type="string")
igroup.add_option("-n", "--data_nature", help="The nature of the data.", dest="data_nature", type="string")
igroup.add_option("-p", "--project-description", help="The project description the run belongs to.", dest="project_description", type="string")
igroup.add_option("-q", "--sequencer", help="The sequencer name used.", dest="sequencer", type="string")
......@@ -64,8 +62,7 @@ if __name__ == '__main__':
sys.exit(1)
else :
# Create a project and run object
my_project = Project(options.project_name, options.project_description, options.fe_group,
options.fe_group_description, options.fe_group_parent)
my_project = Project(options.project_name, options.project_description, options.admin_login)
run_date = options.date.split("/")
my_run = Run(options.name, datetime.date(int(run_date[2]), int(run_date[1]), int(run_date[0])),
......
[interface]
classification = ng6
[parameters]
;; The run name.
$;RUN_NAME$;=
;; The run date in dd/mm/yyyy format.
$;DATE$;=
;; The species used for this run.
$;SPECIES$;=
;; The nature of the data.
$;DATA_NATURE$;=
;; The type of run done.
$;RUN_TYPE$;=
;; Run description.
$;RUN_DESCRIPTION$;=
;; The sequencer name used.
$;SEQUENCER$;=454 GS FLX Titanium
;; The project name the run belongs to. If the project already exists, the description and front end group is not required.
$;PROJECT_NAME$;=TESTBACS
;; The project description the run belongs to.
$;PROJECT_DESCRIPTION$;=
;; The project fe group name allowed for this project. If it doesn't exist it will be created.
$;PROJECT_FE_GROUP$;=
;; The project fe group description.
$;PROJECT_FE_GROUP_DESCRIPTION$;=
;; The project fe group parent name.
$;PROJECT_FE_GROUP_PARENT$;=
[input]
;; The raw input to use
$;RAW_INPUT$; =
;; The path to the control fasta file, if not set no control analyze will be possible.
$;INPUT_FASTA_CONTROL_FILE$;=
;; The path to the control qual file, if not set no control analyze will be possible.
$;INPUT_QUAL_CONTROL_FILE$;=
;; The path to the mids description file, if no mids has been used in this run, left it unset.
$;INPUT_MIDS_DESCRIPTION_FILE$;=
[output]
$;OUTPUT_TOKEN$;=raw_input
$;OUTPUT_DIRECTORY$;=$;REPOSITORY_ROOT$;/output_repository/$;COMPONENT_NAME$;/$;PIPELINEID$;_$;OUTPUT_TOKEN$;
;; The raw input to use
$;RAW_LIST$;=$;OUTPUT_DIRECTORY$;/run.raw.list
$;CONFIG_FILE$;=$;OUTPUT_DIRECTORY$;/run.cfg
$;FASTA_CONTROL_LIST$;=$;OUTPUT_DIRECTORY$;/run_control.fasta.list
$;QUAL_CONTROL_LIST$;=$;OUTPUT_DIRECTORY$;/run_control.qual.list
[component]
$;COMPONENT_NAME$;=config_run
$;DESCRIPTION$;=This script is part of the ng6 project, it creates the run config file required by all ng6 scripts
$;WORKFLOW_REPOSITORY$;=$;REPOSITORY_ROOT$;/workflow/runtime/$;COMPONENT_NAME$;/$;PIPELINEID$;_$;OUTPUT_TOKEN$;
$;PIPELINE_TOKEN$;=unnamed
;The version,revision,tag here is set by an interpolated CVS tag
$;VERSION$;=$Name$
$;RELEASE_TAG$;=$Name$
$;REVISION$;=$Revision: 5503 $
$;TEMPLATE_XML$;=$;DOCS_DIR$;/$;COMPONENT_NAME$;.xml
;the following keys are replaced at runtime by the invocation script
$;COMPONENT_CONFIG$;=
$;COMPONENT_XML$;=
$;PIPELINE_XML$;=
$;PIPELINEID$;=
[include]
$;PROJECT_CONFIG$;=
......@@ -24,12 +24,8 @@ $;DEMULTIPLEXING_ERROR$; = 0
$;PROJECT_NAME$;=TESTBACS
;; The project description the run belongs to.
$;PROJECT_DESCRIPTION$;=
;; The project fe group name allowed for this project. If it doesn't exist it will be created.
$;PROJECT_FE_GROUP$;=
;; The project fe group description.
$;PROJECT_FE_GROUP_DESCRIPTION$;=
;; The project fe group parent name.
$;PROJECT_FE_GROUP_PARENT$;=
;; The project administrator login
$;ADMIN_LOGIN$; =
[input]
;; The raw input to use
......
[interface]
classification = ng6
[parameters]
;; The run name.
$;RUN_NAME$;=
;; The run date in dd/mm/yyyy format.
$;DATE$;=
;; The species used for this run.
$;SPECIES$;=
;; The nature of the data.
$;DATA_NATURE$;=
;; The type of run done.
$;RUN_TYPE$;=
;; Run description.
$;RUN_DESCRIPTION$;=
;; The sequencer name used.
$;SEQUENCER$;=454 GS FLX Titanium
;; The project name the run belongs to. If the project already exists, the description and front end group is not required.
$;PROJECT_NAME$;=
;; The project description the run belongs to.
$;PROJECT_DESCRIPTION$;=
;; The project fe group name allowed for this project. If it doesn't exist it will be created.
$;PROJECT_FE_GROUP$;=
;; The project fe group description.
$;PROJECT_FE_GROUP_DESCRIPTION$;=
;; The project fe group parent name.
$;PROJECT_FE_GROUP_PARENT$;=
[input]
;; The raw input to use
$;RAW_INPUT$;=
;; The path to the control fasta file, if not set no control analyze will be possible.
$;INPUT_FASTA_CONTROL_FILE$;=
;; The path to the control qual file, if not set no control analyze will be possible.
$;INPUT_QUAL_CONTROL_FILE$;=
;; The path to the mids description file, if no mids has been used in this run, left it unset.
$;INPUT_MIDS_DESCRIPTION_FILE$;=
[output]
$;OUTPUT_TOKEN$;=raw_input
$;OUTPUT_DIRECTORY$;=$;REPOSITORY_ROOT$;/output_repository/$;COMPONENT_NAME$;/$;PIPELINEID$;_$;OUTPUT_TOKEN$;
;; The raw input to use
$;RAW_LIST$;=$;OUTPUT_DIRECTORY$;/run.raw.list
$;CONFIG_FILE$;=$;OUTPUT_DIRECTORY$;/run.cfg
$;FASTA_CONTROL_LIST$;=$;OUTPUT_DIRECTORY$;/run_control.fasta.list
$;QUAL_CONTROL_LIST$;=$;OUTPUT_DIRECTORY$;/run_control.qual.list
[component]
$;COMPONENT_NAME$;=config_run
$;DESCRIPTION$;=This script is part of the ng6 project, it creates the run config file required by all ng6 scripts
$;WORKFLOW_REPOSITORY$;=$;REPOSITORY_ROOT$;/workflow/runtime/$;COMPONENT_NAME$;/$;PIPELINEID$;_$;OUTPUT_TOKEN$;
$;PIPELINE_TOKEN$;=unnamed
;The version,revision,tag here is set by an interpolated CVS tag
$;VERSION$;=$Name$
$;RELEASE_TAG$;=$Name$
$;REVISION$;=$Revision: 5503 $
$;TEMPLATE_XML$;=$;DOCS_DIR$;/$;COMPONENT_NAME$;.xml
;the following keys are replaced at runtime by the invocation script
$;COMPONENT_CONFIG$;=
$;COMPONENT_XML$;=
$;PIPELINE_XML$;=
$;PIPELINEID$;=
[include]
$;PROJECT_CONFIG$;=
......@@ -24,12 +24,8 @@ $;DEMULTIPLEXING_ERROR$; = 0
$;PROJECT_NAME$;=
;; The project description the run belongs to.
$;PROJECT_DESCRIPTION$;=
;; The project fe group name allowed for this project. If it doesn't exist it will be created.
$;PROJECT_FE_GROUP$;=
;; The project fe group description.
$;PROJECT_FE_GROUP_DESCRIPTION$;=
;; The project fe group parent name.
$;PROJECT_FE_GROUP_PARENT$;=
;; The project administrator login
$;ADMIN_LOGIN$; =
[input]
;; The raw input to use
......
[interface]
classification = ng6
[parameters]
;; The run name.
$;RUN_NAME$;=
;; The run date in dd/mm/yyyy format.
$;DATE$;=
;; The species used for this run.
$;SPECIES$;=
;; The nature of the data.
$;DATA_NATURE$;=
;; The type of run done.
$;RUN_TYPE$;=
;; Run description.
$;RUN_DESCRIPTION$;=
;; The sequencer name used.
$;SEQUENCER$;=454 GS FLX Titanium
;; The project name the run belongs to. If the project already exists, the description and front end group is not required.
$;PROJECT_NAME$;=
;; The project description the run belongs to.
$;PROJECT_DESCRIPTION$;=
;; The project fe group name allowed for this project. If it doesn't exist it will be created.
$;PROJECT_FE_GROUP$;=
;; The project fe group description.
$;PROJECT_FE_GROUP_DESCRIPTION$;=
;; The project fe group parent name.
$;PROJECT_FE_GROUP_PARENT$;=
[input]
;; The raw input to use
$;RAW_INPUT$;=
;; The path to the control fasta file, if not set no control analyze will be possible.
$;INPUT_FASTA_CONTROL_FILE$;=
;; The path to the control qual file, if not set no control analyze will be possible.
$;INPUT_QUAL_CONTROL_FILE$;=
;; The path to the mids description file, if no mids has been used in this run, left it unset.
$;INPUT_MIDS_DESCRIPTION_FILE$;=
[output]
$;OUTPUT_TOKEN$;=raw_input
$;OUTPUT_DIRECTORY$;=$;REPOSITORY_ROOT$;/output_repository/$;COMPONENT_NAME$;/$;PIPELINEID$;_$;OUTPUT_TOKEN$;
;; The raw input to use
$;RAW_LIST$;=$;OUTPUT_DIRECTORY$;/run.raw.list
$;CONFIG_FILE$;=$;OUTPUT_DIRECTORY$;/run.cfg
$;FASTA_CONTROL_LIST$;=$;OUTPUT_DIRECTORY$;/run_control.fasta.list
$;QUAL_CONTROL_LIST$;=$;OUTPUT_DIRECTORY$;/run_control.qual.list
[component]
$;COMPONENT_NAME$;=config_run
$;DESCRIPTION$;=This script is part of the ng6 project, it creates the run config file required by all ng6 scripts
$;WORKFLOW_REPOSITORY$;=$;REPOSITORY_ROOT$;/workflow/runtime/$;COMPONENT_NAME$;/$;PIPELINEID$;_$;OUTPUT_TOKEN$;
$;PIPELINE_TOKEN$;=unnamed
;The version,revision,tag here is set by an interpolated CVS tag
$;VERSION$;=$Name$
$;RELEASE_TAG$;=$Name$
$;REVISION$;=$Revision: 5503 $
$;TEMPLATE_XML$;=$;DOCS_DIR$;/$;COMPONENT_NAME$;.xml
;the following keys are replaced at runtime by the invocation script
$;COMPONENT_CONFIG$;=
$;COMPONENT_XML$;=
$;PIPELINE_XML$;=
$;PIPELINEID$;=
[include]
$;PROJECT_CONFIG$;=
......@@ -24,12 +24,8 @@ $;DEMULTIPLEXING_ERROR$; = 0
$;PROJECT_NAME$;=
;; The project description the run belongs to.
$;PROJECT_DESCRIPTION$;=
;; The project fe group name allowed for this project. If it doesn't exist it will be created.
$;PROJECT_FE_GROUP$;=
;; The project fe group description.
$;PROJECT_FE_GROUP_DESCRIPTION$;=
;; The project fe group parent name.
$;PROJECT_FE_GROUP_PARENT$;=
;; The project administrator login
$;ADMIN_LOGIN$; =
[input]
;; The raw input to use
......
[interface]
classification = ng6
[parameters]
;; The run name.
$;RUN_NAME$;=
;; The run date in dd/mm/yyyy format.
$;DATE$;=
;; The species used for this run.
$;SPECIES$;=
;; The nature of the data.
$;DATA_NATURE$;=
;; The type of run done.
$;RUN_TYPE$;=
;; Run description.
$;RUN_DESCRIPTION$;=
;; The sequencer name used.
$;SEQUENCER$;=454 GS FLX Titanium
;; The project name the run belongs to. If the project already exists, the description and front end group is not required.
$;PROJECT_NAME$;=
;; The project description the run belongs to.
$;PROJECT_DESCRIPTION$;=
;; The project fe group name allowed for this project. If it doesn't exist it will be created.
$;PROJECT_FE_GROUP$;=
;; The project fe group description.
$;PROJECT_FE_GROUP_DESCRIPTION$;=
;; The project fe group parent name.
$;PROJECT_FE_GROUP_PARENT$;=
[input]
;; The raw input to use
$;RAW_INPUT$;=
;; The path to the control fasta file, if not set no control analyze will be possible.
$;INPUT_FASTA_CONTROL_FILE$;=
;; The path to the control qual file, if not set no control analyze will be possible.
$;INPUT_QUAL_CONTROL_FILE$;=
;; The path to the mids description file, if no mids has been used in this run, left it unset.
$;INPUT_MIDS_DESCRIPTION_FILE$;=
[output]
$;OUTPUT_TOKEN$;=raw_input
$;OUTPUT_DIRECTORY$;=$;REPOSITORY_ROOT$;/output_repository/$;COMPONENT_NAME$;/$;PIPELINEID$;_$;OUTPUT_TOKEN$;
;; The raw input to use
$;RAW_LIST$;=$;OUTPUT_DIRECTORY$;/run.raw.list
$;CONFIG_FILE$;=$;OUTPUT_DIRECTORY$;/run.cfg
$;FASTA_CONTROL_LIST$;=$;OUTPUT_DIRECTORY$;/run_control.fasta.list
$;QUAL_CONTROL_LIST$;=$;OUTPUT_DIRECTORY$;/run_control.qual.list
[component]
$;COMPONENT_NAME$;=config_run
$;DESCRIPTION$;=This script is part of the ng6 project, it creates the run config file required by all ng6 scripts
$;WORKFLOW_REPOSITORY$;=$;REPOSITORY_ROOT$;/workflow/runtime/$;COMPONENT_NAME$;/$;PIPELINEID$;_$;OUTPUT_TOKEN$;
$;PIPELINE_TOKEN$;=unnamed
;The version,revision,tag here is set by an interpolated CVS tag
$;VERSION$;=$Name$
$;RELEASE_TAG$;=$Name$
$;REVISION$;=$Revision: 5503 $
$;TEMPLATE_XML$;=$;DOCS_DIR$;/$;COMPONENT_NAME$;.xml
;the following keys are replaced at runtime by the invocation script
$;COMPONENT_CONFIG$;=
$;COMPONENT_XML$;=
$;PIPELINE_XML$;=
$;PIPELINEID$;=
[include]
$;PROJECT_CONFIG$;=
......@@ -24,12 +24,8 @@ $;DEMULTIPLEXING_ERROR$; = 0
$;PROJECT_NAME$;=
;; The project description the run belongs to.
$;PROJECT_DESCRIPTION$;=
;; The project fe group name allowed for this project. If it doesn't exist it will be created.
$;PROJECT_FE_GROUP$;=
;; The project fe group description.
$;PROJECT_FE_GROUP_DESCRIPTION$;=
;; The project fe group parent name.
$;PROJECT_FE_GROUP_PARENT$;=
;; The project administrator login
$;ADMIN_LOGIN$; =
[input]
;; The raw input to use
......
[interface]
classification = ng6
[parameters]
;; The run name.
$;RUN_NAME$;=
;; The run date in dd/mm/yyyy format.
$;DATE$;=
;; The species used for this run.
$;SPECIES$;=
;; The nature of the data.
$;DATA_NATURE$;=
;; The type of run done.
$;RUN_TYPE$;=
;; Run description.
$;RUN_DESCRIPTION$;=
;; The sequencer name used.
$;SEQUENCER$;=454 GS FLX Titanium
;; The project name the run belongs to. If the project already exists, the description and front end group is not required.
$;PROJECT_NAME$;=MISE
;; The project description the run belongs to.
$;PROJECT_DESCRIPTION$;=
;; The project fe group name allowed for this project. If it doesn't exist it will be created.
$;PROJECT_FE_GROUP$;=
;; The project fe group description.
$;PROJECT_FE_GROUP_DESCRIPTION$;=
;; The project fe group parent name.
$;PROJECT_FE_GROUP_PARENT$;=
[input]
;; The raw input to use
$;RAW_INPUT$; =
;; The path to the control fasta file, if not set no control analyze will be possible.
$;INPUT_FASTA_CONTROL_FILE$;=
;; The path to the control qual file, if not set no control analyze will be possible.
$;INPUT_QUAL_CONTROL_FILE$;=
;; The path to the mids description file, if no mids has been used in this run, left it unset.
$;INPUT_MIDS_DESCRIPTION_FILE$;=
[output]
$;OUTPUT_TOKEN$;=raw_input
$;OUTPUT_DIRECTORY$;=$;REPOSITORY_ROOT$;/output_repository/$;COMPONENT_NAME$;/$;PIPELINEID$;_$;OUTPUT_TOKEN$;
;; The raw input to use
$;RAW_LIST$;=$;OUTPUT_DIRECTORY$;/run.raw.list
$;CONFIG_FILE$;=$;OUTPUT_DIRECTORY$;/run.cfg
$;FASTA_CONTROL_LIST$;=$;OUTPUT_DIRECTORY$;/run_control.fasta.list
$;QUAL_CONTROL_LIST$;=$;OUTPUT_DIRECTORY$;/run_control.qual.list
[component]
$;COMPONENT_NAME$;=config_run
$;DESCRIPTION$;=This script is part of the ng6 project, it creates the run config file required by all ng6 scripts
$;WORKFLOW_REPOSITORY$;=$;REPOSITORY_ROOT$;/workflow/runtime/$;COMPONENT_NAME$;/$;PIPELINEID$;_$;OUTPUT_TOKEN$;
$;PIPELINE_TOKEN$;=unnamed
;The version,revision,tag here is set by an interpolated CVS tag
$;VERSION$;=$Name$
$;RELEASE_TAG$;=$Name$
$;REVISION$;=$Revision: 5503 $
$;TEMPLATE_XML$;=$;DOCS_DIR$;/$;COMPONENT_NAME$;.xml
;the following keys are replaced at runtime by the invocation script
$;COMPONENT_CONFIG$;=
$;COMPONENT_XML$;=
$;PIPELINE_XML$;=
$;PIPELINEID$;=
[include]
$;PROJECT_CONFIG$;=
......@@ -24,12 +24,8 @@ $;DEMULTIPLEXING_ERROR$; = 0
$;PROJECT_NAME$;=MISE
;; The project description the run belongs to.
$;PROJECT_DESCRIPTION$;=
;; The project fe group name allowed for this project. If it doesn't exist it will be created.
$;PROJECT_FE_GROUP$;=
;; The project fe group description.
$;PROJECT_FE_GROUP_DESCRIPTION$;=
;; The project fe group parent name.
$;PROJECT_FE_GROUP_PARENT$;=
;; The project administrator login
$;ADMIN_LOGIN$; =
[input]
;; The raw input to use
......
......@@ -24,12 +24,8 @@ $;DEMULTIPLEXING_ERROR$; = 0
$;PROJECT_NAME$; =
;; The project description the run belongs to.
$;PROJECT_DESCRIPTION$; =
;; The project fe group name allowed for this project. If it doesn't exist it will be created.
$;PROJECT_FE_GROUP$; =
;; The project fe group description.
$;PROJECT_FE_GROUP_DESCRIPTION$; =
;; The project fe group parent name.
$;PROJECT_FE_GROUP_PARENT$; =
;; The project administrator login
$;ADMIN_LOGIN$; =
[input]
;; The raw input to use
......
......@@ -70,16 +70,8 @@
<value>"$;PROJECT_DESCRIPTION$;"</value>
</param>
<param>
<key>--fe-group-parent</key>
<value>"$;PROJECT_FE_GROUP_PARENT$;"</value>
</param>
<param>
<key>--fe-group-description</key>
<value>"$;PROJECT_FE_GROUP_DESCRIPTION$;"</value>
</param>
<param>
<key>--fe-group</key>
<value>"$;PROJECT_FE_GROUP$;"</value>
<key>--admin-login</key>
<value>"$;ADMIN_LOGIN$;"</value>
</param>
<param>
<key>--date</key>
......
......@@ -33,8 +33,6 @@
<li>mids description: The mids descriptions (MID1:desc1;MID2:desc2;... can also be MID1,MID2:desc;...). Leave it blank if it's not a multiplexed run.</li>
<li>project name: the project name the run belongs to.</li>
<li>project description: the project description the run belongs to.</li>
<li>project fe group: the project fe group name allowed for this project.</li>
<li>fe group description: the project fe group description.</li>
<li>fe group parent: the project fe group parent name.</li>
<li>admin login: the project administrator login.</li>
</ul>
</p>
\ No newline at end of file
......@@ -36,11 +36,9 @@ if __name__ == '__main__':
# Define input options
igroup = OptionGroup(parser, "Input options","")
igroup.add_option("-a", "--date", help="The run date in dd/mm/yyyy format.", dest="date", type="string")
igroup.add_option("-b", "--fe-group-parent", help="The project fe group parent name.", dest="fe_group_parent", type="string")
igroup.add_option("-d", "--description", help="Run description.", dest="description", type="string")
igroup.add_option("-e", "--name", help="The run name.", dest="name", type="string")
igroup.add_option("-g", "--fe-group", help="The project fe group name allowed for this project.", dest="fe_group", type="string")
igroup.add_option("-i", "--fe-group-description", help="The project fe group description.", dest="fe_group_description", type="string")
igroup.add_option("-g", "--admin-login", help="The project administrator login.", dest="admin_login", type="string")
igroup.add_option("-n", "--data_nature", help="The nature of the data.", dest="data_nature", type="string")
igroup.add_option("-p", "--project-description", help="The project description the run belongs to.", dest="project_description", type="string")
igroup.add_option("-q", "--sequencer", help="The sequencer name used.", dest="sequencer", type="string")
......@@ -60,8 +58,7 @@ if __name__ == '__main__':
sys.exit(1)
else :
# Create a project and run object
my_project = Project(options.project_name, options.project_description, options.fe_group,
options.fe_group_description, options.fe_group_parent)
my_project = Project(options.project_name, options.project_description, options.admin_login)
run_date = options.date.split("/")
my_run = Run(options.name, datetime.date(int(run_date[2]), int(run_date[1]), int(run_date[0])),
......
......@@ -35,19 +35,17 @@ class Project(object):
Class Project: Define a nG6 Project object
"""
def __init__(self, name, description, fe_group="my_group", fe_group_description="", fe_group_parent="", id=None):
def __init__(self, name, description, admin_login, id=None):
"""
Build a Project object
@param name : the project name
@param description : the project description
@param fe_group : the project front end group name
@param fe_group_description : the project front end group description
@param fe_group_parent : the project front end group parent name
@param admin_login : the administrator login
@param id : the project id
"""
if id == None : # If brand new run
t3mysql = t3MySQLdb()
self.id = t3mysql.add_project(name, description, fe_group, fe_group_description, fe_group_parent)
self.id = t3mysql.add_project(name, description, admin_login)
else :
self.id = id
self.name = name
......
......@@ -55,15 +55,13 @@ class t3MySQLdb(object):
#--------------------------------------------------------------------
# Project functions
def add_project(self, name, pdescription, fe_group, fe_group_description, fe_group_parent, hidden=1):
def add_project(self, name, pdescription, admin_login, hidden=1):
"""
Add to the database a new Project
@return : the Project ID added
@param name : the project name
@param pdescription : the project description
@param fe_groups : group name involved in the project
@param fe_group_description : group description
@param fe_group_parent : name of the parent group of this group
@param admin_login : the administrator login
@param hidden : is the project hidden
"""
conn = connect(self.host, self.user, self.passwd, self.db)
......
......@@ -20,12 +20,8 @@ $;SEQUENCER$; =
$;PROJECT_NAME$; =
;; The project description the run belongs to.
$;PROJECT_DESCRIPTION$; =
;; The project fe group name allowed for this project. If it doesn't exist it will be created.
$;PROJECT_FE_GROUP$; =
;; The project fe group description.
$;PROJECT_FE_GROUP_DESCRIPTION$; =
;; The project fe group parent name.
$;PROJECT_FE_GROUP_PARENT$; =
;; The project administrator login
$;ADMIN_LOGIN$; =
[input]
;; The raw input to use
......
......@@ -56,16 +56,8 @@
<value>"$;PROJECT_DESCRIPTION$;"</value>
</param>
<param>
<key>--fe-group-parent</key>
<value>"$;PROJECT_FE_GROUP_PARENT$;"</value>
</param>
<param>