-
Notifications
You must be signed in to change notification settings - Fork 46
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
Import still ImageSequences as N experiments #1014
Conversation
This change recreates the "find spots takes forever to start" feature :-/ |
With the changes in cctbx/dxtbx#118 now loads before the heat death of the universe which is a good thing. This PR includes code which is sufficient to find spots on a long experiment list against one underlying image set correctly and restores the ascii art output e.g.
There is a certain amount of boiler plate here which is duplicated and could probably be improved by pulling into a central location. N.B. there is a large extant issue here: the image viewer canna cope with this as a concept - need to get it to understand that > 1 experiment can point at an image set. Had a look at this for an hour and failed. |
Does this mean that currently image_viewer fails to open these files? |
When I tested this the output looked correct... I wrote out an experiment list and manually inspected
|
Also: Does not do the right thing on Pilatus grid scans:
=> something else to investigate, yay. |
…ng rlp calculation... more image set slicing too
Does the right thing on pilatus now => think we have something worth discussion now
|
Unsurprisingly a lot of tests now fail... usually those which have
|
With last couple of hacks to |
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.
I think this needs some specific tests added before merging (but I approve of the concept)
Note to self: this explodes if you try to import frame NN to NN+j not starting at 1 (if files 1...NN-1 not on disk) |
Fixed in cctbx/dxtbx@77b8ba4 |
With proper use of batch_offset added in cctbx/dxtbx@77b8ba4 no longer need this workaround
And untangle the shell game while I am there
#info I would like to see this merged real soon |
There's a request for some tests to be added, plus @jmp1985 made some comments that could be read as requesting changes. Once these points are resolved I think it is ready. |
Useful as ovreriding the geometry was not previously csetting is_still
Added tests as requested - valid feedback thank you. Using centroid test data and importing as still sequence highlighted issue in dxtbx, also fixed. |
@dagewa added tests 🙂 |
👍 appreciate the feedback and help thank you - will squash merge in a mo |
In parallel with
cctbx/dxtbx#117
Trying as @rjgildea suggested to do "the right thing" on import -