> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:basedb-users- > [EMAIL PROTECTED] On Behalf Of Bob MacCallum > Sent: 29 November 2006 10:15 > To: BASE ML > Subject: Re: [base] Offline files
[...] > At some point, someone will come up with a bulk loader which will > batch/bulk/mass upload files *and* create/annotate/link the data objects > (I'm > not volunteering, yet...) 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. cheers Micha ================================== Dr Micha M Bayer Bioinformatics Specialist Genetics Programme The Scottish Crop Research Institute Invergowrie Dundee DD2 5DA Scotland, UK Telephone +44(0)1382 562731 ext. 2309 Fax +44(0)1382 562426 http://www.scri.sari.ac.uk/MichaBayer.htm ============================= _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ DISCLAIMER: This email is from the Scottish Crop Research Institute, but the views expressed by the sender are not necessarily the views of SCRI and its subsidiaries. This email and any files transmitted with it are confidential to the intended recipient at the e-mail address to which it has been addressed. It may not be disclosed or used by any other than that addressee. If you are not the intended recipient you are requested to preserve this confidentiality and you must not use, disclose, copy, print or rely on this e-mail in any way. Please notify [EMAIL PROTECTED] quoting the name of the sender and delete the email from your system. Although SCRI has taken reasonable precautions to ensure no viruses are present in this email, neither the Institute nor the sender accepts any responsibility for any viruses, and it is your responsibility to scan the email and the attachments (if any). ------------------------------------------------------------------------- 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]