Skip to content

Commit

Permalink
Change test_tof_extract_shoeboxes to import the image data directly.
Browse files Browse the repository at this point in the history
  • Loading branch information
toastisme committed Aug 27, 2024
1 parent 159f56d commit 7bb6423
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/algorithms/scaling/test_tof_scaling.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@


def test_tof_extract_shoeboxes(dials_data):
experiments = ExperimentListFactory.from_json_file(
join(dials_data("isis_sxd_nacl_processed", pathlib=True), "imported.expt")
image_file = join(
dials_data("isis_sxd_example_data", pathlib=True), "sxd_nacl_run.nxs"
)
experiments = ExperimentListFactory.from_filenames([image_file])
reflections = flex.reflection_table.from_msgpack_file(
join(dials_data("isis_sxd_nacl_processed", pathlib=True), "strong.refl")
)
Expand Down

0 comments on commit 7bb6423

Please sign in to comment.