Getting closer to a subanalysis mode
authorDiane Trout <diane@caltech.edu>
Fri, 23 Jun 2006 01:56:58 +0000 (01:56 +0000)
committerDiane Trout <diane@caltech.edu>
Fri, 23 Jun 2006 01:56:58 +0000 (01:56 +0000)
commit946b9e9a4290b013533184f20fd1871c0a04e6ad
tree546c89c2427833039e0bdcb4af0ef1076d96dca8
parent46c00526bb074f3de549572ce635cefd2a074524
Getting closer to a subanalysis mode
This is a big patch, in order to create the subanalysis mode I wanted a
class that'd hold a reference to a sequence and some start/stop locations
which'd let the user edit what region they want to use in the subanalysis
before creating the new analysis.

I started setting up a SequenceLocation and SequenceLocationModel (for
the qt MVC classes) but then I learned that C++ reference types aren't
particularly good things to store in containers, as when the original
variable that all the references are pointing to goes away you get
invalid memory exceptions.

So I went through and switched most of those references to the
boost::shared_ptr which is a fairly simple reference counted pointer.

This did make most of the C++ code happy, but my python wrapping
is increasingly losing functionality.

Also as a bonus this increased use of pointers I think will improve the
sharing of the AnnotationColors color mappers.
26 files changed:
alg/CMakeLists.txt
alg/glseqbrowser.cpp
alg/glseqbrowser.hpp
alg/glsequence.cpp
alg/glsequence.hpp
alg/mussa.cpp
alg/mussa.hpp
alg/sequence.cpp
alg/sequence_location.cpp [new file with mode: 0644]
alg/sequence_location.hpp [new file with mode: 0644]
alg/test/CMakeLists.txt
alg/test/test_glseqbrowser.cpp
alg/test/test_glsequence.cpp
alg/test/test_mussa.cpp
alg/test/test_sequence_location.cpp [new file with mode: 0644]
py/glsequence.cpp
py/mussa.cpp
qui/CMakeLists.txt
qui/MussaWindow.cpp
qui/SequenceLocationModel.cpp [new file with mode: 0644]
qui/SequenceLocationModel.hpp [new file with mode: 0644]
qui/SubanalysisWindow.cpp
qui/SubanalysisWindow.hpp
qui/motif_editor/MotifEditor.cpp
qui/seqbrowser/SequenceBrowserWidget.cpp
qui/seqbrowser/SequenceBrowserWidget.hpp