Nicklas Nordborg wrote: > Steve Taylor wrote: > >> Hi Nicklas, >> >>>> I got a confusing message when I was using the Experiments > Import. >>>> Basically, BASE was expecting a zip file and I was (perhaps stupidly) >>>> trying to upload a single file. The BASE WWW interface returned: >>>> >>>> 'We couldn't find any file format mathing the file >>>> /home/Admin/latestbluefuse.txt.' >>>> >>>> In the error log the problem is clear. >>>> >>>> ===================================== ===========NEW BATCH IMPORT >>>> ========= ===================================== file is not a zip >>>> file java.lang.NullPointerException at >>>> sbrn.base.BatchDataImporter.isImportable(BatchDataImporter.java:181) at >>>> net.sf.basedb.util.AutoDetectFileFormat.findPlugins(AutoDetectFileFormat.java:145) >>>> >>>> >>>> >>>> >>>> >>>> Could a similar message be shown in the GUI? >>> >>> >>> As it is currently implemented it is not possible. A plugin can only >>> answer yes or no when asked if it can import a file. Unfortunately, >>> it can't give any reason why the file can't be imported. >> >> >> >> Perhaps the button and/or title could be changed to reflect the >> function in the meantime e.g. >> >> Button name = 'Batch Import' and the title pop up = 'Import a zip file'? > > > No I don't think so. How would we know that you have installed the batch > import plugin? What if someone else develops another plugin (say for > example a Tab2Mage import plugin)? > > When you click on the import button you are first given a list of > plugins and also the 'auto detect' option. If you select 'auto detect', > the 'We couldn't find any file format...' message makes sense. If you > instead select the batch import plugin you will be taken to another form > which is generated from the information given to us by the plugin. On > this form the plugin may give you information about what type of file > you can use. The batch import plugin is an external plugin not developed > by the BASE team so I can't answer any questions about it. >
Yes. I see your point. Actually, having had a look when you select the Batch import it says 'Imports batches of data files into BASE, creating a single RawbioAssay for each file' so I guess that is more self explanatory. However, I would think a lot of people will use 'auto detect' so this may go unnoticed ... Regards, Steve ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ The BASE general discussion mailing list basedb-users@lists.sourceforge.net unsubscribe: send a mail with subject "unsubscribe" to [EMAIL PROTECTED]