Commit 5dc412aa authored by Celine Noirot's avatar Celine Noirot
Browse files

Add field admin login and update save function.

parent dec58f3b
......@@ -65,7 +65,7 @@ class Run(object):
self.sequencer = sequencer
self.__mids_description = None
self.raw_files = []
self.admin_login = None
# Set the temp folder to the ng6 temp folder
ng6conf = NG6ConfigReader()
tempfile.tempdir = ng6conf.get_tmp_directory()
......@@ -357,7 +357,7 @@ class Run(object):
# First add the run into the database
t3mysql = t3MySQLdb()
self.id = t3mysql.add_run(self.name, self.date, self.directory, self.species, self.data_nature,
self.type, 0, 0, self.description, self.sequencer)
self.type, 0, 0, self.description, self.sequencer, self.admin_login)
# If there is some mids desc provided
if self.__mids_description != None:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment