|
6
|
1 export TOOL_DIR='${__tool_directory__}' &&
|
|
|
2
|
|
|
3 Rscript '${__tool_directory__}/'search_contents_render.R
|
|
|
4
|
|
|
5 -o '$report'
|
|
|
6 -d '$report.files_path'
|
|
|
7 -u '$content_type_url'
|
|
|
8
|
|
|
9 #set $sep = ''
|
|
|
10 #set $search_paths = ''
|
|
|
11 #for $search_path in $search_section.search_field_repeat:
|
|
|
12 #set $search_paths += $sep + str($search_path.field_path) + ';' + str($search_path.search_operator)
|
|
|
13 #set $sep = '|'
|
|
|
14 #end for
|
|
|
15 -s '$search_paths'
|
|
|
16
|
|
|
17 #set $sep = ''
|
|
|
18 #set $extract_paths = ''
|
|
|
19 #for $extract_path in $extract_section.extract_field_repeat:
|
|
|
20 #set $extract_paths += $sep + str($extract_path.field_path)
|
|
|
21 #set $sep = '|'
|
|
|
22 #end for
|
|
|
23 -e '$extract_paths'
|
|
|
24
|
|
|
25 -l '$records_number'
|
|
|
26 -r '$search_results'
|