-
Notifications
You must be signed in to change notification settings - Fork 47
Wing disc atlasapi script #595
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
base: main
Are you sure you want to change the base?
Conversation
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
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.
Once we decide what to name the atlas, the script should be renamed accordingly, but otherwise looks great - thanks @Skxsmy
Mostly updating of the docstrings is needed.
Could you share the wingdisc_annotations.txt
file with me, please, so I can run it locally too and check that it works on a different machine too?
# Copy-paste this script into a new file and fill in the functions to package | ||
# your own atlas. | ||
|
||
### Metadata ### | ||
|
||
# The minor version of the atlas in the brainglobe_atlasapi, this is internal, | ||
# if this is the first time this atlas has been added the value should be 0 | ||
# (minor version is the first number after the decimal point, ie the minor | ||
# version of 1.2 is 2) |
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.
# Copy-paste this script into a new file and fill in the functions to package | |
# your own atlas. | |
### Metadata ### | |
# The minor version of the atlas in the brainglobe_atlasapi, this is internal, | |
# if this is the first time this atlas has been added the value should be 0 | |
# (minor version is the first number after the decimal point, ie the minor | |
# version of 1.2 is 2) |
And either remove or correct any comments that are not accurate (copy-pasted from the template script).
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.
|
||
# The orientation of the **original** atlas data, in BrainGlobe convention: | ||
# https://brainglobe.info/documentation/setting-up/image-definition.html#orientation | ||
ORIENTATION = "asr" |
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.
We need to think about orientation! Is this correct?
"asr" stand for Anterior-Superior-Right, and specifies the location of pixel 0,0,0 of the template image. We have a left wing, I think? Where is pixel 0,0,0 in the image, with respect to the body of the drosophila larva?
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.
Following our internal discussions, I think our best approximation of the orientation is "ras"
here. Assumptions around this
- the line from the centre of the pouch to the centre of the notum points towards anterior
- the tip of this left wing points slightly medially, ie to its right.
- the wingdisc plane is approximately flat and parallel to the "back" of the larva
- the peripodium is dorsal to the rest of the wingdisc
Documenting our internal discussions that we have settled on |
Before submitting a pull request (PR), please read the contributing guide.
Please fill out as much of this template as you can, but if you have any problems or questions, just leave a comment and we will help out :)
Description
What is this PR
Why is this PR needed?
Add a new script for packaging wing disc atlas
What does this PR do?
Packaging the newly made wing disc atlas
How has this PR been tested?
locally
Is this a breaking change?
no
Does this PR require an update to the documentation?
no
Checklist: