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

Cannot open multiple files in 'Colocalize' #50

Closed
Mahajan30 opened this issue Aug 31, 2022 · 2 comments
Closed

Cannot open multiple files in 'Colocalize' #50

Mahajan30 opened this issue Aug 31, 2022 · 2 comments

Comments

@Mahajan30
Copy link

I am able to open multiple files in 'Collect' and put masks/structures on them, but unable to open (same) multiple files in 'Colocalize'. The error I get is this:

Unhandled exception in Impose version 0.3.1:
Traceback (most recent call last):
File "/Volumes/Impose_0.3.1/Impose.app/Contents/MacOS/impose/gui/colocalize.py", line 184, in on_add_data
self.add_paths(paths)
File "/Volumes/Impose_0.3.1/Impose.app/Contents/MacOS/impose/gui/colocalize.py", line 109, in add_paths
self.session_scheme.append(pp)
File "impose/session.py", line 157, in append
structure_composite = self.scs.get_mean()
File "impose/structure/composite_stack.py", line 80, in get_mean
raise NotImplementedError("Averaging not implemented yet!")
NotImplementedError: Averaging not implemented yet!

Could you please look into this? Currently I have to close Impose after analysing each measurement. Resolving this would make life easy :)

@paulmueller
Copy link
Member

paulmueller commented Aug 31, 2022

The idea behind all of this is that if you load multiple structures, you can compute an average structure which you can then overlay with other data. Since this averaging feature (#4) is not implemented, you get a NotImplementedError.

What (I think) you would like to do does not align with the working principle of impose. You always can only analyze one dataset in one session. What could resolve your problem is to use "Clear Session" in the file menu. Then you don't have to restart impose anymore.

@Mahajan30
Copy link
Author

Okay understood! Thanks!

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

No branches or pull requests

2 participants