Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into tof_scaling
Browse files Browse the repository at this point in the history
  • Loading branch information
toastisme committed Aug 19, 2024
2 parents 76f3112 + a2f8f71 commit 159f56d
Show file tree
Hide file tree
Showing 32 changed files with 433 additions and 81 deletions.
1 change: 1 addition & 0 deletions .conda-envs/linux.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ conda-forge::pint
conda-forge::pip
conda-forge::psutil
conda-forge::pybind11
conda-forge::pyopengl
conda-forge::pyrtf
conda-forge::pytest
conda-forge::pytest-forked
Expand Down
1 change: 1 addition & 0 deletions .conda-envs/macos.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ conda-forge::pip
conda-forge::psutil
conda-forge::pthread-stubs
conda-forge::pybind11
conda-forge::pyopengl
conda-forge::pyrtf
conda-forge::pytest
conda-forge::pytest-forked
Expand Down
1 change: 1 addition & 0 deletions .conda-envs/windows.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ conda-forge::pint
conda-forge::pip
conda-forge::psutil
conda-forge::pybind11
conda-forge::pyopengl
conda-forge::pyrtf
conda-forge::pytest
conda-forge::pytest-forked
Expand Down
15 changes: 6 additions & 9 deletions doc/sphinx/documentation/tutorials/small_molecule_tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ which will integrate each sweep in sequence, again using all available cores. Af

.. code-block:: bash
dials.reciprocal_lattice_viewer integrated.refl integrated.expt
dials.image_viewer integrated.refl integrated.expt
Expand All @@ -132,6 +132,8 @@ So far the data were processed with a triclinic unit cell, which is usually OK b
This will look at the shape of the unit cell and determine the maximum possible symmetry based on the cell parameters, with some tolerance. Each of the possible symmetry operations will be individually tested and scored, and those operations identified as being present will be composed into the point group to be assigned to the data. An attempt is then made to estimate the space group from the presence or absence of axial reflections: this is rather less reliable than the point group determination but also less important for the scaling. After the point group has been determined the reflections will be reindexed automatically to match the correct setting, ensuring that the data are correctly prepared for scaling.

.. note:: ``dials.symmetry`` will only suggest one of the 65 Sohncke space groups relevant for chiral molecules. It will not detect mirrors or glide planes.


Scaling
-------
Expand Down Expand Up @@ -225,19 +227,14 @@ However these may be useful in later structure refinement.
Exporting
---------

The output data are by default saved in the standard DIALS reflection format, which is not particularly useful. In MX, a standard format is MTZ which includes the unit cell and symmetry information with the reflection data. This is created with
The output data are by default saved in the standard DIALS reflection format, which is not particularly useful. DIALS is able to convert this to SHELX format though. This can be done by

.. code-block:: bash
dials.export scaled.refl scaled.expt
And there is a useful "jiffy" included with xia2 to convert this to SHELX format and generate .ins and .hkl files for structure solution and refinement viz:

.. code-block:: bash
dials.export scaled.refl scaled.expt format=shelx shelx.ins=lcys.ins shelx.hklout=lcys.hkl composition=CHNOS
xia2.to_shelx scaled.mtz lcys CHNOS
Such that you can then run
So that you can then run

.. code-block:: bash
Expand Down
1 change: 1 addition & 0 deletions newsfragments/2688.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Avoid deprecated ``matplotlib.cm.get_cmap`` calls
1 change: 1 addition & 0 deletions newsfragments/2692.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Improvements to the small molecule tutorial.
1 change: 1 addition & 0 deletions newsfragments/2696.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
``dials.symmetry``: allow free selection of ``significance_level`` in the range [0,1]
2 changes: 2 additions & 0 deletions newsfragments/2700.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
``dials.merge``: Use gemmi to output merged MTZs for consistency with ``dials.export``

1 change: 1 addition & 0 deletions newsfragments/2707.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
``dials.reciprocal_lattice_viewer``: fix middle mouse drag to translate function.
1 change: 1 addition & 0 deletions newsfragments/2709.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
``dials.export``: Add support for exporting still data in mmcif format, that can be understood with gemmi
2 changes: 2 additions & 0 deletions newsfragments/2714.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Tidy output of ``dials.index`` around the defaults for ``joint_index``

1 change: 1 addition & 0 deletions newsfragments/2715.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Modified branching to Laue refinement methods to check for ExperimentType first.
3 changes: 3 additions & 0 deletions newsfragments/2718.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Performance improvement for selections from large reflection tables. For a
table containing 165k experiment identifiers the speedup is 1000x (12 minutes
per call).
Loading

0 comments on commit 159f56d

Please sign in to comment.