Hi guys,

I have a small patch to submit for MartEditor which allows it to use
the *xyz* aliasing method within the internal names of filters and
attributes (useful if you have a number of similar datasets based on
one template, all of which need to have the same attribute/filter
exported into a collection of imported attributes/filters in a single
other dataset). The patch allows this to be used and still preserve
the functionality of SpecificFilter/AttributeContent options:


Index: lib/config/DynamicDataset.java
===================================================================
RCS file: 
/cvsroot/biomart/martj/src/java/org/ensembl/mart/lib/config/DynamicDataset.java,v
retrieving revision 1.4
diff -r1.4 DynamicDataset.java
129c129
<                 if (key.equals("internalName")) continue; // Don't muck with 
these!
---
>                 // if (key.equals("internalName")) continue; // Don't muck 
> with these!
130a131,134
>                 if (key.equals("internalName")) {
>                       // Don't overwrite internal names.
>                       value = to.getAttribute(key);   
>                 }



cheers,
Richard

-- 
Richard Holland, BSc MBCS
Finance Director, Eagle Genomics Ltd
M: +44 7500 438846 | E: [EMAIL PROTECTED]
http://www.eaglegenomics.com/

Reply via email to