Thanks a lot Richard, We will propagate this to martj code soon.
Cheers Syed Richard Holland wrote:
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,134if (key.equals("internalName")) { // Don't overwrite internal names. value = to.getAttribute(key); }cheers, Richard
====================================== Syed Haider. EMBL-European Bioinformatics Institute Wellcome Trust Genome Campus, Hinxton, Cambridge CB10 1SD, UK. ======================================
