Skip to content

Commit

Permalink
Correctly test changed behaviour
Browse files Browse the repository at this point in the history
The diamond anvil absorption correction is now done in the _integrate
step, not the _integrate_finish step.
  • Loading branch information
benjaminhwilliams committed Apr 29, 2020
1 parent f399a6e commit dc015c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Test/Modules/Integrater/test_DialsIntegrater.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ def exercise_dials_integrater(dials_data, tmp_dir, nproc=None):
# Test that diamond anvil cell attenuation correction does something.
# That it does the right thing is left as a matter for the DIALS tests.
integrater3 = DialsIntegrater.from_json(string=json_str)
integrater3.set_integrater_finish_done(False)
integrater3.set_integrater_sweep(sweep, reset=False)
integrater3.set_integrater_done(False)
integrater3.high_pressure = True
# Don't get .hkl output because we're applying the attenuation correction to data
# that weren't actually collected with a diamond anvil cell and some integrated
Expand Down

0 comments on commit dc015c9

Please sign in to comment.