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

Cosym: filter out experiments with inconsistent unit cells #1380

Merged
merged 3 commits into from
Aug 27, 2020

Conversation

rjgildea
Copy link
Contributor

Fix occassional issue in cosym/multiplex where a given unit cell passes through the initial unit cell clustering, but the change_of_basis_ops_to_minimum_cell() function isn't able to identify consistent cb_ops to minimum cell because the input unit cells don't map to the same highest symmetry subgroup.

New algorithm for change_of_basis_ops_to_minimum_cell():

  1. Compute metric_subgroups for all experiments
  2. Choose as target space group the most common highest symmetry subgroup compatible with each experiment
  3. If no compatible subgroup exists for a given experiment then set the returned cb_op for this experiment as None
  4. In cosym, filter out experiments with a cb_op of None

@codecov
Copy link

codecov bot commented Aug 25, 2020

Codecov Report

Merging #1380 into master will increase coverage by 0.01%.
The diff coverage is 88.23%.

@@            Coverage Diff             @@
##           master    #1380      +/-   ##
==========================================
+ Coverage   64.60%   64.62%   +0.01%     
==========================================
  Files         616      616              
  Lines       69866    69912      +46     
  Branches     9546     9560      +14     
==========================================
+ Hits        45140    45182      +42     
- Misses      22952    22955       +3     
- Partials     1774     1775       +1     

@rjgildea rjgildea merged commit d91bd0b into master Aug 27, 2020
@rjgildea rjgildea deleted the cosym_bad_cb_ops branch August 27, 2020 08:11
ndevenish pushed a commit that referenced this pull request Sep 1, 2020
Fix occassional issue in cosym/multiplex where a given unit cell passes
through the initial unit cell clustering, but the
change_of_basis_ops_to_minimum_cell() function isn't able to identify
consistent cb_ops to minimum cell because the input unit cells don't map
to the same highest symmetry subgroup.

New algorithm for change_of_basis_ops_to_minimum_cell():
1. Compute metric_subgroups for all experiments
2. Choose as target space group the most common highest symmetry subgroup
   compatible with each experiment
3. If no compatible subgroup exists for a given experiment then set the
    returned cb_op for this experiment as None
4. In cosym, filter out experiments with a cb_op of None
@ndevenish ndevenish mentioned this pull request Sep 1, 2020
ndevenish added a commit that referenced this pull request Sep 1, 2020
- ``dials.scale``: Prevent discarding of resolution limits in rare cases, which could cause incorrect symmetry determination, and worse results. (#1378)
- ``dials.cosym``: filter out experiments with inconsistent unit cells (#1380)
- Internally slicing experiments now works if image range doesn't start at 1 (#1383)
- Restore missing I/sigma(I) resolution estimate log output (#1384)
- ``dials.image_viewer``: "Save As" button now works, for single panels
- Fix developer ``libtbx.precommit`` installation error (#1375
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.

None yet

1 participant