Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
genotoul-bioinfo
ng6
Commits
ba7316e1
Commit
ba7316e1
authored
Oct 14, 2019
by
Romain Therville
🐭
Browse files
update for branch
#129
I removed a few logging calls that a used for debugging.
parent
a1c47bf3
Changes
1
Show whitespace changes
Inline
Side-by-side
workflows/switch_project_space_id/__init__.py
View file @
ba7316e1
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment