-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add export and impo(rt) commands #62
Conversation
4345bfa
to
b06b9a8
Compare
I tried:
Which seems to work, but then I wanted to import all those same rendering settings. Just using the same server, I did
But then I realised after a few tries that it actually wants a File. But I don't have a File for the Dataset. Is there a way to import for a Dataset?
Don't know what's going on there? The yaml contents is:
|
Guess I have describe the options a bit better.
Just tried on a pilot using idr0144: omero render export Dataset:16852 Change greyscale to true, then: omero render impo Bone\ Part\ 2|F_01.ome.tiff.yml omero render impo --dataset Bone\ Part\ 2|F_01.ome.tiff.yml |
Thanks @dom, yes it works if I actually point it to the It feels a little painful to use the Checks above are failing due to flake8:
|
Thanks Will, using directory/filename for dataset/imagename instead of a separator is a good idea. I'll do that! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This worked fine for me with directories, thanks
I'll skip the Screen/Plate support for now. I'll add it in a separate PR when I need it for a specific IDR submission. |
Commits were forced pushed. Review has been done. Merging |
Examples: | ||
Export one yaml file for each Dataset in a Project (first image) | ||
(into ./DATASET_NAME/IMAGE_NAME.yml): | ||
omero export Project:1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be: omero render export
no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Argh, yes of course. I'll open follow-up PR.
I just need a better way to export rendering settings from a pilot and import them again on IDR prod, the approach via Ids doesn't work, because they are obviously different on the machines. This PR adds an
export
andimpo
(rt) command, which exports rendering settings as yml files (.yml) resp. imports them again. This can be done either one per dataset, or traverse datasets and export one renderings settings yml for each image.It only works for Project/Dataset/Image for now, not for Screen/Plate/Well, yet. I'll just open that as draft PR, if anyone else want to use it, install it from my branch. Assume it won't be merged anyway.