void save_old();
void load_old(char * load_file_path, int s_num);
- // manage motif lists
- void add_motif(const std::string& motifs,
- const Color& colors);
- //! add vector of motifs and colors to our motif collection
- /*! this depends on sets and color maps being unique
+ // manage motif lists
+ //! add a motif it wont be applied until update_sequences_motif is called
+ void add_motif(const std::string& motifs, const Color& colors);
+ //! add vector of motifs and colors to our motif collection
+ /*! this will automatically call update_sequences_motif
+ * this depends on sets and color maps being unique
* (aka if you add the same item more than once it doesn't
- * increase the size of the data structure
+ * increase the size of the data structure)
*/
- void add_motifs(const std::vector<std::string>& motifs,
+ void set_motifs(const std::vector<std::string>& motifs,
const std::vector<Color>& colors);
//! load motifs from an ifstream
/*! The file should look something like