JakeNewman wrote:When I use the CommandLineImporter, it reports:
Depth: 4 Metadata Level: MINIMUM
and then proceeds to only upload minimal metadata. Is there a way to change the metadata level? I'm using 4.2.2.
You're kind of abusing the command line importer interface slightly by doing things in the manner that you are. I've created an example which uses the lower level import library (which is used by the command line importer) that should cover the use cases and issues that you raised including metadata levels and dataset linkage. It's available here:
https://gist.github.com/1710116
It's using the 4.3.3+ API but it should be close enough to give you an idea of what you need to do.
And for some reason I'm able to set X,Y,C and T using the .setPixelSizeX,Y,C, and T methods on a omexmlservice object, but not Z. So when I upload my image, it always has the same number of Z channels as the source image. Basically, I'm taking a source Tiff, extracting its metadata, attaching it to a new tiff, and uploading it. I'm getting nowhere with setting the Z size so I was thinking of just writing a simple XML parser to adjust it *manually*.
Any ideas?
Jake
Physical pixel sizes or size of the given dimension? Can you post the entire example somewhere so we can see it?