[ome-devel] ST FilenamePattern & TheT

Joshua Moore j.moore at dkfz-heidelberg.de
Fri Sep 10 09:26:18 BST 2004


Ilya Goldberg wrote:

> Where each importer is listed in order as a class name.  You just add 
> your new importer there before OME::ImportEngine::TIFFreader and 
> you're all set:
> ome=# update configuration set value='blah blah blah' where name  = 
> 'import_formats';

super.

> The importers are run in order on a list of files, and they eliminate 
> files from the list if they recognize the format.  That's why you want 
> to put your importer in front of the generic one.

But if I want to do something _else_ with the names in the list? Do I 
setup getGroups but just not push anything onto @outlist?

    #COMMENTEDOUT: push (@outlist, \@groupList) if ( scalar(@groupList) 
 > 0 );

That way I don't duplicate the TIFFreader code and can add a 
FilenameParser as the first  import.

This also means (see email "Potpourri")  that I just need to add a  
PlainTXTreader or some other non-sense as an importer to get the grid sizes.

Ha!
  -Josh


More information about the ome-devel mailing list