[ome-devel] ST FilenamePattern & TheT
Joshua Allen Moore
J.Moore at dkfz-heidelberg.de
Thu Sep 9 20:14:26 BST 2004
In the discussion with Urban today, I addressed this. I basically told him for a
quick fix I want the time index added as metadata. What's that--another 9
characters in the file name. big whoop.
However, there's obviously a lot of other goodies in the name. Can we get a hook
in the importers so we can register import-time modules. I can use it to parse
the filenames and spit out a few more STs. If so, we've got our time deltas!
-Josh
Quoting Ilya Goldberg <igg at nih.gov>:
> Unfortunately, they won't be interpreted correctly. This is a case
> where you're encoding meta-data in the file name, and it won't wind up
> where its supposed to in the DB. The FilenamePattern ST really only
> works when the filename contains indexes in the 5-d space - I can't
> think of a good way for it to decode meta-data. If there is some other
> way of preserving the meta-data, or annotating it later, then you could
> put in a mechanism (using a flag?) to get the dimension indexes through
> a lexical sort of whatever is in your regex. But this kind of throwing
> away of important stuff is not very good.
>
> The Import module is declared with a type "any" output, so it can
> already put out any kind of ST. If you had a way to generate the
> indexes (using a flag to get them from a sort), you could also (maybe)
> specify that the regex should populate a certain ST. This is much,
> much more than we had in mind for FilenamePattern.
>
> With an hour or so's work, you can probably cut and paste your way to a
>
> customized tiff importer that does exactly what you want.
>
> -Ilya
More information about the ome-devel
mailing list