allpy
changeset 1036:ec921ac2b553
pair-cores/web: add option to output high blocks in pymol
close #148
author | Boris Nagaev <bnagaev@gmail.com> |
---|---|
date | Mon, 19 Mar 2012 23:23:40 +0400 |
parents | 1c2250aa5b32 |
children | 447c048047b2 b177073343a9 |
files | pair_cores/web/approot/locales/pair-cores-web.xml pair_cores/web/approot/locales/pair-cores-web_ru.xml pair_cores/web/pair-cores.cpp |
diffstat | 3 files changed, 6 insertions(+), 0 deletions(-) [+] |
line diff
1.1 --- a/pair_cores/web/approot/locales/pair-cores-web.xml Mon Mar 19 22:56:16 2012 +0400 1.2 +++ b/pair_cores/web/approot/locales/pair-cores-web.xml Mon Mar 19 23:23:40 2012 +0400 1.3 @@ -48,6 +48,7 @@ 1.4 1.5 <message id='pair.out.High_blocks'>Text file with high blocks</message> 1.6 <message id='pair.out.High_html'>HTML file with high blocks</message> 1.7 + <message id='pair.out.High_pymol'>PyMol file with high blocks</message> 1.8 <message id='pair.out.Homology'>Homology file</message> 1.9 <message id='pair.out.Pair_blocks'>Pair cores file</message> 1.10 <message id='pair.out.Pair_html'>Pair cores HTML file</message>
2.1 --- a/pair_cores/web/approot/locales/pair-cores-web_ru.xml Mon Mar 19 22:56:16 2012 +0400 2.2 +++ b/pair_cores/web/approot/locales/pair-cores-web_ru.xml Mon Mar 19 23:23:40 2012 +0400 2.3 @@ -38,6 +38,7 @@ 2.4 2.5 <message id='pair.out.High_blocks'>Вертикальные блоки (текст)</message> 2.6 <message id='pair.out.High_html'>Вертикальные блоки (HTML)</message> 2.7 + <message id='pair.out.High_pymol'>Вертикальные блоки (PyMol)</message> 2.8 <message id='pair.out.Homology'>Файл гомологии</message> 2.9 <message id='pair.out.Pair_blocks'>Парные блоки (текст)</message> 2.10 <message id='pair.out.Pair_html'>Парные блоки (HTML)</message>
3.1 --- a/pair_cores/web/pair-cores.cpp Mon Mar 19 22:56:16 2012 +0400 3.2 +++ b/pair_cores/web/pair-cores.cpp Mon Mar 19 23:23:40 2012 +0400 3.3 @@ -147,6 +147,10 @@ 3.4 pymol->set_suggested_gen(boost::bind(name_gen2, "pml")); 3.5 task->add_output(pymol, tr("pair.out.Pymol")); 3.6 // 3.7 + ViewFileOutput* high_pymol = new ViewFileOutput("--high-blocks-pymol"); 3.8 + high_pymol->set_suggested_gen(boost::bind(name_gen2, "pml")); 3.9 + task->add_output(high_pymol, tr("pair.out.High_pymol")); 3.10 + // 3.11 ViewFileOutput* high_blocks = new ViewFileOutput("--high-blocks"); 3.12 high_blocks->set_suggested_gen(boost::bind(name_gen2, "blocks")); 3.13 task->add_output(high_blocks, tr("pair.out.High_blocks"));