More progress toward subanalysis
authorDiane Trout <diane@caltech.edu>
Wed, 21 Jun 2006 02:11:45 +0000 (02:11 +0000)
committerDiane Trout <diane@caltech.edu>
Wed, 21 Jun 2006 02:11:45 +0000 (02:11 +0000)
commit46c00526bb074f3de549572ce635cefd2a074524
tree7da7bb3f16901d9a53a803ee2357657db6d78a13
parentf53ddd693fe894f0f6ab117a01064a9155daf5d6
More progress toward subanalysis
With our previous efforts at turnning Sequence into a string, the
places where we were comparing a Sequence to a string didn't work so well.
So this patch lets the compiler cast strings and const char *s to Sequence.

additionally I made the copySelectedTrackAs functions a bit more generic
by making the base function copySelectedTracks a template function
that returns a list of formatted objects. The two string style copy
functions AsFasta and AsString, then needed a bit more code to convert
the list back into a string. But I needed this so I can let users
edit what regions they want for SubanalysisWindows.

And lastly, there's a very simple box for defining a subanalysis that
still needs to be connected to the above copy functions.
14 files changed:
alg/glseqbrowser.cpp
alg/glseqbrowser.hpp
alg/mussa.cpp
alg/mussa.hpp
alg/sequence.cpp
alg/sequence.hpp
alg/test/test_mussa.cpp
alg/test/test_nway.cpp
py/mussa.cpp
qui/CMakeLists.txt
qui/MussaWindow.cpp
qui/MussaWindow.hpp
qui/SubanalysisWindow.cpp [new file with mode: 0644]
qui/SubanalysisWindow.hpp [new file with mode: 0644]