Commit e9c641a 1 parent fbfcaa1 commit e9c641a Copy full SHA for e9c641a
File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 3
3
import os
4
4
import time
5
5
6
- from dxtbx .model .experiment_list import ExperimentList
6
+ from dxtbx .model .experiment_list import ExperimentListFactory
7
7
8
8
from fast_dp .image_names import image2template_directory
9
9
@@ -323,11 +323,11 @@ def read_image_metadata_dxtbx(image):
323
323
if image .endswith (".h5" ):
324
324
# XDS can literally only handle master files called (prefix)_master.h5
325
325
assert "master" in image
326
- expt = ExperimentList .from_filenames ([image ])[0 ]
326
+ expt = ExperimentListFactory .from_filenames ([image ])[0 ]
327
327
else :
328
328
template , directory = image2template_directory (image )
329
329
full_template = os .path .join (directory , template )
330
- expt = ExperimentList .from_templates (
330
+ expt = ExperimentListFactory .from_templates (
331
331
[full_template ], allow_incomplete_sweeps = True
332
332
)[0 ]
333
333
You can’t perform that action at this time.
0 commit comments