From: <azu...@us...> - 2008-10-06 21:18:20
|
Revision: 2153 http://obo.svn.sourceforge.net/obo/?rev=2153&view=rev Author: azurebrd Date: 2008-10-06 21:13:19 +0000 (Mon, 06 Oct 2008) Log Message: ----------- Some changes to field names and boxes and get rid of Particle_bombardment Modified Paths: -------------- phenote/trunk/conf/worm-transgene.cfg phenote/trunk/src/java/phenote/dataadapter/worm/WormTransgeneAdapter.java Modified: phenote/trunk/conf/worm-transgene.cfg =================================================================== --- phenote/trunk/conf/worm-transgene.cfg 2008-10-06 20:16:37 UTC (rev 2152) +++ phenote/trunk/conf/worm-transgene.cfg 2008-10-06 21:13:19 UTC (rev 2153) @@ -23,21 +23,20 @@ <field name="PgdbId" enable="true" copy-field="false" type="READ_ONLY" groups="default"/> <field name="Name" datatag="Name" enable="true" groups="default"/> - <field name="Summary" datatag="Summary" enable="true" groups="default"/> + <field name="Summary" datatag="Summary" enable="true" enableBigTextBox="true"/> <field name="Driven by Gene" datatag="Driven_by_Gene" enable="true" groups="default"/> <field name="Reporter Product" enable="true" groups="default" isList="true"><ontology name="Reporter_Product" file="http://tazendra.caltech.edu/~azurebrd/var/work/phenote/reporter_product.obo"/></field> <field name="Other Reporter" datatag="Other_Reporter" enable="true" groups="default"/> <field name="Gene" datatag="Gene" enable="true" groups="default"/> <field name="Integrated by" enable="true"><ontology name="Integrated_by" file="http://tazendra.caltech.edu/~azurebrd/var/work/phenote/integrated_by.obo"/></field> - <field name="Particle Bombardment" datatag="Particle_Bombardment" enable="true" groups="default"/> <field name="Strain" datatag="Strain" enable="true" groups="default"/> <field name="Map" enable="true" isList="true"><ontology name="Map" file="http://tazendra.caltech.edu/~azurebrd/var/work/phenote/map.obo"/></field> <field name="Map Paper" datatag="Map_Paper" enable="true" groups="default"/> <field name="Map Person" datatag="Map_Person" enable="true" groups="default"/> <field name="Marker for" datatag="Marker_for" enable="true" groups="default"/> - <field name="Marker for Paper" datatag="Marker_for_Paper" enable="true" groups="default"/> - <field name="Reference" datatag="Reference" enable="true" groups="default"/> - <field name="Remark" datatag="Remark" enable="true" groups="default"/> + <field name="Marker Paper" datatag="Marker_for_Paper" enable="true" groups="default"/> + <field name="Reference" datatag="Reference" enable="true" enableBigTextBox="true"/> + <field name="Remark" datatag="Remark" enable="true" enableBigTextBox="true"/> <field name="Species" datatag="Species" enable="true" groups="default"/> <field name="Synonym" datatag="Synonym" enable="true" groups="default"/> <field name="Driven by Construct" datatag="Driven_by_Construct" enable="true" groups="default"/> Modified: phenote/trunk/src/java/phenote/dataadapter/worm/WormTransgeneAdapter.java =================================================================== --- phenote/trunk/src/java/phenote/dataadapter/worm/WormTransgeneAdapter.java 2008-10-06 20:16:37 UTC (rev 2152) +++ phenote/trunk/src/java/phenote/dataadapter/worm/WormTransgeneAdapter.java 2008-10-06 21:13:19 UTC (rev 2153) @@ -203,8 +203,10 @@ updateNormalField(c, s, joinkey, postgres_table, tag_name, tag_value); postgres_table = "trp_map_person"; tag_name = "Map Person"; tag_value = chr.getValueString(tag_name); updateNormalField(c, s, joinkey, postgres_table, tag_name, tag_value); - postgres_table = "trp_marker_for"; tag_name = "Marker for Paper"; tag_value = chr.getValueString(tag_name); + postgres_table = "trp_marker_for"; tag_name = "Marker for"; tag_value = chr.getValueString(tag_name); updateNormalField(c, s, joinkey, postgres_table, tag_name, tag_value); + postgres_table = "trp_marker_for_paper"; tag_name = "Marker Paper"; tag_value = chr.getValueString(tag_name); + updateNormalField(c, s, joinkey, postgres_table, tag_name, tag_value); postgres_table = "trp_reference"; tag_name = "Reference"; tag_value = chr.getValueString(tag_name); updateNormalField(c, s, joinkey, postgres_table, tag_name, tag_value); postgres_table = "trp_remark"; tag_name = "Remark"; tag_value = chr.getValueString(tag_name); @@ -403,7 +405,7 @@ postgres_table = "trp_marker_for"; postgres_value = ""; // postgres_value = "No postgres value assigned"; postgres_value = queryPostgresCharacter(s, postgres_table, postgres_value, joinkey); c1.setValue("Marker for",postgres_value); postgres_table = "trp_marker_for_paper"; postgres_value = ""; // postgres_value = "No postgres value assigned"; - postgres_value = queryPostgresCharacter(s, postgres_table, postgres_value, joinkey); c1.setValue("Marker for Paper",postgres_value); + postgres_value = queryPostgresCharacter(s, postgres_table, postgres_value, joinkey); c1.setValue("Marker Paper",postgres_value); postgres_table = "trp_reference"; postgres_value = ""; // postgres_value = "No postgres value assigned"; postgres_value = queryPostgresCharacter(s, postgres_table, postgres_value, joinkey); c1.setValue("Reference",postgres_value); postgres_table = "trp_remark"; postgres_value = ""; // postgres_value = "No postgres value assigned"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |