From: Jonathan C. <jcr...@us...> - 2004-04-27 16:59:28
|
Update of /cvsroot/gmod/apollo/src/java/apollo/dataadapter/chado In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13091 Modified Files: ChadoAdapter.java Log Message: Removed hard-coded cvterm_ids from the embedded SQL statements in favor of a slightly more general scheme; the cvterm ids that belong to a specific cv (this should be made configurable) are now retrieved up front and a hashtable is consulted to look up cvterms by name as needed. Index: ChadoAdapter.java =================================================================== RCS file: /cvsroot/gmod/apollo/src/java/apollo/dataadapter/chado/ChadoAdapter.java,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** ChadoAdapter.java 27 Apr 2004 14:42:05 -0000 1.4 --- ChadoAdapter.java 27 Apr 2004 16:59:19 -0000 1.5 *************** *** 57,67 **** * </li> * <li> - * cvterm_ids are liberally hard-coded throughout the source code and will need to be replaced with - * values queried from the cv and cvterm tables (see also the comments on SO below). - * </li> - * <li> * The adapter currently allows the user to select only a single sequence for display. ! * (By "sequence" we mean any Chado feature, but in practice the adapter is hard-coded ! * to retrieve sequences with cvterm_id = 5; the TIGR cvterm for 'assembly' sequences.) * </li> * <li> --- 57,62 ---- * </li> * <li> * The adapter currently allows the user to select only a single sequence for display. ! * (By "sequence" we mean any Chado feature.) * </li> * <li> *************** *** 125,130 **** /** if true print debugging statements */ ! //private boolean DEBUG = true; ! private boolean DEBUG = false; // ----------------------------------------------------------------------- --- 120,125 ---- /** if true print debugging statements */ ! //protected boolean DEBUG = true; ! protected boolean DEBUG = false; // ----------------------------------------------------------------------- |