Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Maintenance - Mise à jour mensuelle Lundi 6 Février entre 7h00 et 9h00
Open sidebar
genotoul-bioinfo
ng6
Commits
fd18f79f
Commit
fd18f79f
authored
Aug 23, 2019
by
Romain Therville
☕
Browse files
Logging commands removed
parent
ac7c5ff7
Changes
2
Hide whitespace changes
Inline
Side-by-side
ui/nG6/res/js/tx_nG6_pi5.js
View file @
fd18f79f
...
...
@@ -160,20 +160,15 @@ $(function () {
button
=
this
;
button
.
disabled
=
true
;
console
.
log
(
"
IN _retrieve_url_list, before _retrieve_data, step 1
"
);
_get_workflow_status
(
running_wf
.
id
,
// successcb
function
(
statusdata
){
if
(
statusdata
.
status
==
"
completed
"
){
console
.
log
(
"
IN _retrieve_url_list, before _retrieve_data, running_wf.id=
"
+
running_wf
.
id
);
_retrieve_data
(
running_wf
.
id
,
function
(
data
){
$
(
button
).
hide
();
$
.
each
(
data
,
function
(
i
,
component
)
{
$
.
each
(
component
,
function
(
filename
,
file
)
{
if
(
filename
==
ufilename
){
console
.
log
(
"
IN _retrieve_url_list, before _display_file_content, step 2
"
);
console
.
log
(
"
IN _retrieve_url_list, file.url=
"
+
file
.
url
);
console
.
log
(
"
IN _retrieve_url_list, process_data=
"
+
process_data
);
_display_file_content
(
file
.
url
,
modal
.
$body
,
process_data
);
}
});
...
...
@@ -292,7 +287,6 @@ $(function () {
modal
.
$modal
.
modal
();
modal
.
$modal
.
find
(
'
#wfform
'
).
wfform
(
form_options
);
modal
.
$modal
.
find
(
'
#wfform
'
).
on
(
'
run.wfform
'
,
function
(
event
,
running_wf
)
{
console
.
log
(
"
IN download_options, before _retrieve_url_list
"
);
_retrieve_url_list
(
modal
,
running_wf
,
'
output_list.txt
'
);
});
},
...
...
workflows/download_symlink/components/createsymlink.py
View file @
fd18f79f
...
...
@@ -45,10 +45,7 @@ def create_symbolik_link (ids_dump_path, output_list, user_script, username, pas
prefixed_ids
=
pickle
.
load
(
fh
)
fh
.
close
()
prefixed_ids
=
";"
.
join
(
prefixed_ids
)
logging
.
getLogger
(
"createsymlink"
).
debug
(
"Before Utils.get_directories_structure_and_content()"
)
src_directories
,
dest_directories
=
Utils
.
get_directories_structure_and_content
(
ng6_username
,
data_folder
,
output_folder
,
prefixed_ids
)
logging
.
getLogger
(
"createsymlink"
).
debug
(
"src_directories = "
+
","
.
join
(
src_directories
))
logging
.
getLogger
(
"createsymlink"
).
debug
(
"dest_directories = "
+
","
.
join
(
dest_directories
))
destinations
=
[]
with
open
(
user_script
,
"w"
)
as
us
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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