Arek Kasprzyk wrote: > > On 17 May 2006, at 17:15, David Withers wrote: > >> Arek Kasprzyk wrote: [snip] >> >> The 'Upstream flank' box seems to have a default value of 100 but this >> doesn't seem to be specified anywhere in the config files. Other >> filters, such as 'gene_chrom_end', have a defaultValue attribute >> specified in the FilterDescription. > > Hi David, > apologies, I misunderstood your question first time round. You are right. > This value indeed should be specified in the config file if the 'default' > is to be displayed. We'll add this to the config.
Would it make sense to also change the type of this filter from list to text? It's presented as a text box on the web site but my gui creates a drop down box because it's a list type filter. >> >> I am still confused as to how you know that you need to add the >> upstream_flank filter if the user has selected the coding_gene_flank >> attribute. Is there a set of rules that I am missing? >> > > probably not. I simply pointed you to where these things live but > it is possible that this particular bit is hardcoded in our client > somewhere > in which case it is an oversight on our part. It is probably better is > someone > more familiar with MartView could comment and disprove my 'theories' if > necessary. > Unless you hear to the contrary from someone else you can assume for now > that in 0.4 > this is a hardcoded set of rules for this particular filter. In this > indeed is the case this > will be better formalized for 0.5 > I've found a biologist to tell me when I need to specify upstream/downstream flank values so I'll hard code this for now. Thanks for your help, David. -- David Withers School of Computer Science, University of Manchester, Oxford Road, Manchester, M13 9PL, UK. Tel: +44(0)161 275 0145
