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

Subset operations for tomography objects #491

Open
fede-pe opened this issue Jan 17, 2024 · 0 comments
Open

Subset operations for tomography objects #491

fede-pe opened this issue Jan 17, 2024 · 0 comments

Comments

@fede-pe
Copy link

fede-pe commented Jan 17, 2024

The comparison of (some) tomography objects should be done by _tsId field (now is simple id as it is done in SPA). This should be detected for tomography objects, some i can think of are tilt-series, landmark models and tomograms. It is enough to consider this in the subset protocol (protocols_sets line 595 and 596) when constructing hte set of id's (inputFullSet.getIdSet()).

This methods construct a set of the field column id

def getIdSet(self):
""" Return a Python set object containing all ids. """
return set(self.getUniqueValues('id'))

and for this case we want to call the method as:

set(self.getUniqueValues('_tsId'))

The tricky part is how to handle for which object we want this behaviour

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

1 participant