Configuring attribute visibility

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Configuring attribute visibility

Richard Cote
Hi Damian

I did exactly that but it appeared in martview. It's not the end of the world if
that attribute is visible, but it represents an internal ID and makes no sense
to anybody else but us so it really shouldn't be there.

What's the difference between 'hidden' and 'hideDisplay' and how can I get that
attribute to not appear in martview?

Cheers,
Rc


 > Hi Richard,
 >
 > I am fairly certain if you use hideDisplay in MartEditor they should still be
 > available for a martservice query and not appear in martview.
 >
 > Cheers
 > Damian
 >
 >
 > On Tue, Jul 20, 2010 at 8:34 AM, Richard Cote <rcote@xxxxxxxxx> wrote:
 >
 >     Hi all
 >
 >     I want to expose some attributes via the martservice only, not through
the > martviewer. What are the marteditor configuration settings to achieve this
 > goal?
 >
 >     Cheers,
 >     Rc
 >     --
 >     Richard Cote
 >     Software Engineer - PRIDE Project Team (Sequence Database Group)
 >     European Bioinformatics Institute
 >     Wellcome Trust Genome Campus                 rcote@xxxxxxxxx
 >     Hinxton, Cambridge CB10 1SD                  Phone: (+44) 1223 492610
 >     United Kingdom                               Fax  : (+44) 1223 494468

--
Richard Cote
Software Engineer - PRIDE Project Team (Sequence Database Group)
European Bioinformatics Institute
Wellcome Trust Genome Campus                 [hidden email]
Hinxton, Cambridge CB10 1SD                  Phone: (+44) 1223 492610
United Kingdom                               Fax  : (+44) 1223 494468

Reply | Threaded
Open this post in threaded view
|

Re: Configuring attribute visibility

Richard Holland
In theory, hidden means that it won't appear in either martview or martservice. This is better than just deleting it because if you delete it and later do an update in MartEditor, it'll come back again.

hideDisplay means it won't show up in martview, but it'll still appear in martservice.

At least, in theory. MartEditor is a bit temperamental in actually exporting settings sometimes. Hopefully the soon-to-be-announced 0.8 will be a big improvement on this.

cheers,
Richard

On 3 Sep 2010, at 14:11, Richard Cote wrote:

> Hi Damian
>
> I did exactly that but it appeared in martview. It's not the end of the world if that attribute is visible, but it represents an internal ID and makes no sense to anybody else but us so it really shouldn't be there.
>
> What's the difference between 'hidden' and 'hideDisplay' and how can I get that attribute to not appear in martview?
>
> Cheers,
> Rc
>
>
> > Hi Richard,
> >
> > I am fairly certain if you use hideDisplay in MartEditor they should still be > available for a martservice query and not appear in martview.
> >
> > Cheers
> > Damian
> >
> >
> > On Tue, Jul 20, 2010 at 8:34 AM, Richard Cote <rcote@xxxxxxxxx> wrote:
> >
> >     Hi all
> >
> >     I want to expose some attributes via the martservice only, not through the > martviewer. What are the marteditor configuration settings to achieve this
> > goal?
> >
> >     Cheers,
> >     Rc
> >     --
> >     Richard Cote
> >     Software Engineer - PRIDE Project Team (Sequence Database Group)
> >     European Bioinformatics Institute
> >     Wellcome Trust Genome Campus                 rcote@xxxxxxxxx
> >     Hinxton, Cambridge CB10 1SD                  Phone: (+44) 1223 492610
> >     United Kingdom                               Fax  : (+44) 1223 494468
>
> --
> Richard Cote
> Software Engineer - PRIDE Project Team (Sequence Database Group)
> European Bioinformatics Institute
> Wellcome Trust Genome Campus                 [hidden email]
> Hinxton, Cambridge CB10 1SD                  Phone: (+44) 1223 492610
> United Kingdom                               Fax  : (+44) 1223 494468
>

--
Richard Holland, BSc MBCS
Operations and Delivery Director, Eagle Genomics Ltd
T: +44 (0)1223 654481 ext 3 | E: [hidden email]
http://www.eaglegenomics.com/

Reply | Threaded
Open this post in threaded view
|

Re: Configuring attribute visibility

Damian Smedley
In reply to this post by Richard Cote
Hi Richard,

If hideDisplay is set to true in the MartEditor XML then it definitely should not appear in MartView but it is still available for for the API, MartService calls etc. The difference from hidden is that setting this to true stops the attribute appearing in MartView and being available to the BioMart API/Services. The only point of hidden attributes and filters is to stop them reappearing everytime you do a config update in MartEditor.

If the attribute definitely has hideDisplay set to true (note it should be true and not 1) and is still appearing in MartView after running perl configure.pl --clean -r conf/reg.xml and restarting the server then this is probably a MartEditor bug. Let me know and I can come and find you and fix it.

Cheers
Damian


On Fri, Sep 3, 2010 at 2:11 PM, Richard Cote <[hidden email]> wrote:
Hi Damian

I did exactly that but it appeared in martview. It's not the end of the world if that attribute is visible, but it represents an internal ID and makes no sense to anybody else but us so it really shouldn't be there.

What's the difference between 'hidden' and 'hideDisplay' and how can I get that attribute to not appear in martview?

Cheers,
Rc


> Hi Richard,
>
> I am fairly certain if you use hideDisplay in MartEditor they should still be > available for a martservice query and not appear in martview.
>
> Cheers
> Damian
>
>
> On Tue, Jul 20, 2010 at 8:34 AM, Richard Cote <rcote@xxxxxxxxx> wrote:
>
>     Hi all
>
>     I want to expose some attributes via the martservice only, not through the > martviewer. What are the marteditor configuration settings to achieve this
> goal?
>
>     Cheers,
>     Rc
>     --
>     Richard Cote
>     Software Engineer - PRIDE Project Team (Sequence Database Group)
>     European Bioinformatics Institute
>     Wellcome Trust Genome Campus                 rcote@xxxxxxxxx
>     Hinxton, Cambridge CB10 1SD                  Phone: (+44) 1223 492610
>     United Kingdom                               Fax  : (+44) 1223 494468

--
Richard Cote
Software Engineer - PRIDE Project Team (Sequence Database Group)
European Bioinformatics Institute
Wellcome Trust Genome Campus                 [hidden email]
Hinxton, Cambridge CB10 1SD                  Phone: (+44) 1223 492610
United Kingdom                               Fax  : (+44) 1223 494468


Reply | Threaded
Open this post in threaded view
|

Re: Configuring attribute visibility

Richard Cote
In reply to this post by Richard Holland
Richard Holland wrote:
>
> hideDisplay means it won't show up in martview, but it'll still appear in martservice.
>
> At least, in theory. MartEditor is a bit temperamental in actually exporting settings sometimes. Hopefully the soon-to-be-announced 0.8 will be a big improvement on this.
>

Riiiiiiiiight. So is there a way I can kick it in the pants and make it behave
like it should?

Cheers,
Rc
--
Richard Cote
Software Engineer - PRIDE Project Team (Sequence Database Group)
European Bioinformatics Institute
Wellcome Trust Genome Campus                 [hidden email]
Hinxton, Cambridge CB10 1SD                  Phone: (+44) 1223 492610
United Kingdom                               Fax  : (+44) 1223 494468