Hi Tim,

On 23/04/2010 Friday, April 23, 09:56, "Leighton Pritchard"
<lpr...@scri.ac.uk> wrote:

>>> * Where the parent feature of another feature has a long digit value as its
>>> identifier, it is reported in the child feature by ARTEMIS in exponential
>>> float format, rather than as a string (see exon examples above).
>>> 
>> 
>> I am guessing the mapping in artemis_sqlmap/Feature.xml needs to set the
>> java type to string for the uniquename that you are using then. So you could
>> try changing the template-basicfeature resultmap to:
>> 
>>     <result property="uniqueName" column="uniquename"
>> javaType="java.lang.String"/>
> 
> I'll give that a go and recompile, later - I'll let you know if it works.

I tried this:

[...]
  <!-- resultMap templates below -->

  <resultMap id="template-basicfeature" class="Feature">
    <result property="timeLastModified" column="timelastmodified"/>
        <result property="featureId" column="id"/>
    <result property="uniqueName" column="uniquename"
javaType="java.lang.String"/>
[...]

But am still getting exponent floats like

supercont1.10    PI_T3-4_FINAL_CALLGENES_3.coords    exon    50010    50171
.    +    .    
ID=7000003035149513.exon1;Name=7000003035149513.exon2;Parent=7.0000030351495
13E15;isObsolete=false;timelastmodified=19.04.2010+04:41:20+BST
supercont1.10    PI_T3-4_FINAL_CALLGENES_3.coords    exon    50260    50499
.    +    .    
ID=7000003035149513.exon2;Name=7000003035149513.exon2;Parent=7.0000030351495
13E15;isObsolete=false;timelastmodified=19.04.2010+04:41:20+BST

Is there anything else I can try - or have I misread yet another item? ;)

Cheers,

L.

-- 
Dr Leighton Pritchard MRSC
D131, Plant Pathology Programme, SCRI
Errol Road, Invergowrie, Perth and Kinross, Scotland, DD2 5DA
e:lpr...@scri.ac.uk       w:http://www.scri.ac.uk/staff/leightonpritchard
gpg/pgp: 0xFEFC205C       tel:+44(0)1382 562731 x2405


______________________________________________________
SCRI, Invergowrie, Dundee, DD2 5DA.  
The Scottish Crop Research Institute is a charitable company limited by 
guarantee. 
Registered in Scotland No: SC 29367.
Recognised by the Inland Revenue as a Scottish Charity No: SC 006662.


DISCLAIMER:

This email is from the Scottish Crop Research Institute, but the views 
expressed by the sender are not necessarily the views of SCRI and its 
subsidiaries.  This email and any files transmitted with it are confidential to 
the intended recipient at the e-mail address to which it has been addressed.  
It may not be disclosed or used by any other than that addressee.
If you are not the intended recipient you are requested to preserve this 
confidentiality and you must not use, disclose, copy, print or rely on this 
e-mail in any way. Please notify postmas...@scri.ac.uk quoting the name of the 
sender and delete the email from your system.

Although SCRI has taken reasonable precautions to ensure no viruses are present 
in this email, neither the Institute nor the sender accepts any responsibility 
for any viruses, and it is your responsibility to scan the email and the 
attachments (if any).
______________________________________________________

_______________________________________________
Artemis-users mailing list
Artemis-users@sanger.ac.uk
http://lists.sanger.ac.uk/mailman/listinfo/artemis-users

Reply via email to