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

LIMS-1536: Add more options to reprocessing #876

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ndg63276
Copy link
Collaborator

@ndg63276 ndg63276 commented Dec 9, 2024

JIRA ticket: LIMS-1537

Summary:

Add the d_max option and the absorption level option (for xia2 only) for reprocessing jobs. Also fix a bug in space groups when 'process individually' is ticked.

Changes:

  • Add a low res input next to the current high res input
  • Add a dropdown for absorption level with high/medium/low options, default is left blank
  • Add the above changes to standard single crystal reprocessing and mutli crystal reprocessing
  • Fix the identifier for the space group box to an input (rather than select) for when 'process individually' is ticked, so that the space group can be populated from the 'Use AP Cell' button, and the requested space group is passed on to the reprocessing job

To test:

  • Change your config to use the production database otherwise the reprocessing won't work
  • Go to a recent data collection (so that images are still on disk) in the commissioning directory (as we are using the prod db) where auto processing has been successful (eg /dc/visit/cm37235-5/id/16115203)
  • Click the cog icon for reprocessing, choose a Xia2 pipeline (eg Xia2 Dials). Check there are High Res and Low Res fields, put in something like 2A for High Res and 3A for Low Res
  • Click the Xia2 Options button, check there is now a dropdown for Absorption Level, set it to something eg Low
  • Set the Start to 1 and the End to 100 to ensure processing is quicker, then press Integrate
  • Wait around 10 minutes (maybe start the next test while you wait) for it to complete, then click on the new XIa2 Dials tab, and click on Processing Log. Click the button marked 'xia2 output' and you should get a text file, about the 14th line is the 'Command line' Check it has d_min as your High Res, d_max as your Low Res, and absorption_level=low
  • Go back to the reprocessing screen, and this time tick 'Process Individually'. Choose a different pipeline (eg fastdp) and click the 'Space Group / Cell'. Click 'Use AP Cell' and check the space group is populated. Change the space group to something else (eg P1), and press Integrate
  • Wait for the job to complete (it may fail as the space group is wrong, don't worry), then click on the Processing Log, then click on 'fast_dp log text'. Check you see a line saying 'Set spacegroup: P 1'
  • Go back to the reprocessing screen, and this time click 'Multi Crystal' in the top right. Scroll down to the graphs, drag over a range of images from one of the data collections, then fill in the High and Low Res values as before, use Xia2 3dii as the pipeline, and set the Absorption Level to Medium. Press Integrate.
  • As the job starts, you should see the parameters you set at the top of the page. When it completes, you should be able to click on the 'DC' column to go to the relevant data collection and see the processing logs, check your parameters were used by the program as before.

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

Successfully merging this pull request may close these issues.

1 participant