Commit ba7316e1 authored by Romain Therville's avatar Romain Therville 🐭

update for branch #129

I removed a few logging calls that a used for debugging.
parent a1c47bf3
......@@ -77,13 +77,10 @@ class SwitchProjectSpaceId (BasicNG6Workflow):
logging.getLogger("SwitchProjectSpaceId.process").debug("Migrating run " + str(run_id) )
path_old_run_directory = base_path + t3mysql.select_run_directory(run_id)
path_new_run_directory = path_old_run_directory.replace(old_directory,new_directory)
logging.getLogger("SwitchProjectSpaceId.process").debug("path_old_run_directory = " + str(path_old_run_directory) )
logging.getLogger("SwitchProjectSpaceId.process").debug("path_new_run_directory = " + str(path_new_run_directory) )
#Update the directory in DB
new_run_directory = t3mysql.select_run_directory(run_id)
new_run_directory = new_run_directory.replace(old_directory, new_directory)
logging.getLogger("SwitchProjectSpaceId.process").debug("new_run_directory (DB) = " + str(new_run_directory) )
t3mysql.update_fields('tx_nG6_run', str(run_id), ['directory'], [str(new_run_directory)] )
#Moving the files
......
Markdown is supported
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