Hi all,

Just a thought, I think the best choice to trigger a large import like 
this is to create a plug-in instead of adding extra tabs to the file 
browser. The plug-in should start by requesting the zip file/directory 
to import. If the zip file is not already uploaded the user will have an 
opportunity to upload it. After choosing the zip file/directory the 
plug-in could start its import and creation of necessary items.

The above is fairly straightforward already today and the new code would 
start at import/creation of necessary items.

This will yield very little (or no) changes to the core and the plug-in 
should probably be started from the experiment listing page. This will 
of course change the experiment list jsp (a import tab is needed).

In my naive view this will only affect a jsp and a new plug-in is needed.


Jari

dominic oyeniran wrote:
>  
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Micha Bayer
> 
> Hi Micha,
> 
> 
>> I have just finished writing one. The user uploads a zip file, a new
> directory is created in the user's raw data directory (with >the same name
> as the zip file) and the files are then unzipped in there. They are then
> imported one by one as new 
>> RawBioAssay objects and at the end a new Experiment is created that has all
> these hanging off it. At the moment it only 
>> works for non-Affy data though. 
> 
> 
>> To do this I had to hack the BASE source (plugin wasn't possible as far as
> I can tell), and I am always reluctant to do that 
>> sort of thing because of versioning/upgrade issues (i.e. having to repeat
> this every time a new version is out). I have 
>> modified >the JSP page that controls the menus and inserted a new item
> there, and added a couple of JSP pages myself that >provide the UI for all
> this. 
> 
>> I did some more detailed testing yesterday and things worked fine but it's
> all still pretty raw and probably full of bugs. I am 
>> happy to share the code with others though, or even make it a full
> contribution to BASE if people are happy with it (perhaps >after it has been
> gone over by some of the BASE team). I also think the exception handling
> needs more work probably. 
> 
> 
> Base 2 has plans to have tab2mage import (importing experiments and
> associated files) see Ticket #338  on base2 trac
> http://base.thep.lu.se/ticket/338 system, and your zip file loader would
> certaily help to in importing experiments from repositories and doing other
> interesting stuff. We have this on our do list and would certainly
> appreciate if you can share the code with us to help in this process.
> 
> Also, do you have plans to extend the functionality to non-affy data too?
> 
> Thanks and hope to read from you.
> 
> Dominic
> ************
> 
> 
> 
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> The BASE general discussion mailing list
> basedb-users@lists.sourceforge.net
> unsubscribe: send a mail with subject "unsubscribe" to
> [EMAIL PROTECTED]
> 

-- 
Jari Häkkinen, PhD
Complex Systems Division                        mailto:[EMAIL PROTECTED]
Department of Theoretical Physics               phone: +46 (0)46 2229347
Lund University                                 fax:   +46 (0)46 2229686
Sölvegatan 14a, SE-223 62 Lund, Sweden          http://www.thep.lu.se


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
The BASE general discussion mailing list
basedb-users@lists.sourceforge.net
unsubscribe: send a mail with subject "unsubscribe" to
[EMAIL PROTECTED]

Reply via email to