-
Notifications
You must be signed in to change notification settings - Fork 0
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
merging project top and project subtomograms into project subtomograms #183
Conversation
Fix the test please |
@@ -154,7 +154,7 @@ def createOutputStep(self): | |||
# Input could be SetOfVolumes or SetOfSubtomograms | |||
for item in input.iterItems(): | |||
idx = item.getObjId() | |||
p = Particle() | |||
p = Particle(objId=item.getObjId()) |
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.
If project top is getting absorbed by project subtomograms, shouldn't this protocol get deleted?
# X axis | ||
if dir == self.AXIS_X: | ||
for zi in range(z): | ||
for yi in range(y): | ||
proj[yi, zi] = np.sum(volData[zi, yi, :]) | ||
# Y axis | ||
elif dir == self.AXIS_Y: | ||
for zi in range(z): | ||
for xi in range(x): | ||
proj[zi, xi] = np.sum(volData[zi, :, xi]) | ||
# Z axis | ||
elif dir == self.AXIS_Z: | ||
for xi in range(x): | ||
for yi in range(y): | ||
proj[yi, xi] = np.sum(volData[:, yi, xi]) |
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 separated into a private function
I need to properly understand the new features included in the protocol before i can really check this code. |
Quality Gate passedIssues Measures |
Not needed any more, can be replaced by #196. In such Pull Request, you can project in whichever axis you want just setting your For example, to proyect on to Z axis:
|
No description provided.