Skip to content
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

Script for .mrc file which splits channels #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hailstonem
Copy link

Also takes cmd-line arguments
Note use of getPlanes over getPlane for efficiency.

Also takes cmd-line arguments
Note use of getPlanes over getPlane for efficiency.
@carandraug
Copy link
Member

  1. edit omero2mrc.py instead of copying the file and modifying it.

  2. instead of modifying write_imsubs to create each image file, have a function that will write the file given an image that only has that channel. Note that currently, while you are writing files with only one channel, the metadata is still mentioning all the other channels.

  3. make the split of channels an option.

  4. remove the print commands. At the very least, make then conditional when running in debug mode.

  5. make individual commits for each thing you change. 1 commit to add the parsing of options, another command to add the splitting of channels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants