Ok current status of what marteditor does to dropdown options on export is
as follows:
For each option it tests whether this still exists in the table column
referred to in the filter and if not removes it from the actual dataset
config referred to by the website. If all options are removed the whole
filter is removed.
So your strategy of using the temp options is not going to work anymore -
we will try and think of a solution for the new editor.
Deleting unwanted options before export will work as you want though
best wishes
Damian
On Tue, 3 Apr 2007, Damian Smedley wrote:
On Tue, 3 Apr 2007, Richard Holland wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The dropdown options are preserved during export regardless of table
content.
Hi Robert,
sorry - this is getting confusing. If you do a straightforward delete some
options and export they will get removed from the config as expected. For
your scenario you described yesterday creating options from another col let
me do some more investigation and see if I can reproduce it here and get a
workaround
cheers
Damian
>
cheers,
Richard
Robert Hamon wrote:
Does this also mean that whatever options I remove from a "Make Dropdown"
they will still popup in biomart because the template is rebuilt from the
data in the database on export?
I'm hoping not... Because as a workaround to using a temp table to build
my
dropdown, I though about inserting some temp data in the main table, do a
"Make Dropdown", clean the options, do the export and then delete the
dummy
data.
Robert
-----Message d'origine-----
De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part
de Damian Smedley
Envoyé : 2 avril 2007 12:47
À : Robert Hamon
Cc : [email protected]
Objet : RE: [mart-dev] Marteditor dropdown list
On Mon, 2 Apr 2007, Robert Hamon wrote:
It silently fails.
From marteditor I point the filter to my temp table, use Make
Dropdown and
it correctly shows my list options in the filter. I then point the
filter back to the main table and export the config.
I then reconfigure biomart with a --clean to rebuild the cache.
In the browser it shows the list of option from the main table
("|matrix1|matrix3|", "|matrix4|matrix5|", etc..) instead of the
options list I created from the temp table ("matrix1", "matrix2",
etc...)
ok - I see what is going on now. We introduced this new templating system
recently (mainly for our own ensembl needs) which changes the way
MartEditor
handles things. What it boils down as a consequence of all this is that on
export each config gets updated to the real data so you lose your 'dummy'
data. Its a shame as that was a neat trick you were using :-)
I can't really think of an easy way round it at the moment (apart from the
obvious data redesign) but I will have a think. MartEditor will get
reengineered in the very near future so hopefully this functionality will
get returned
best wishes
Damian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGEhng4C5LeMEKA/QRAonzAJ9kQlXd69KzvT9XcOS1mTCie4HO/wCeIXj2
3/XNcOCk/lg0GBInSk97tDA=
=nnnN
-----END PGP SIGNATURE-----