Skip to content

Commit a8d3741

Browse files
rhfoghmarcus-oscarsson
authored andcommitted
Removed obsolete temporary fix for hdf5 file names
1 parent 540e19b commit a8d3741

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

mxcubecore/HardwareObjects/Gphl/GphlWorkflow.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ def query_pre_strategy_params(self, choose_lattice=None):
360360
point_group = point_groups[-1]
361361
lattice_tags = [""] + list(lattice2point_group_tags)
362362
if space_group not in crystal_symmetry.XTAL_SPACEGROUPS:
363-
# Non-enantiomeric sace groups not supported in user interface
363+
# Non-enantiomeric space groups not supported in user interface
364364
space_group = ""
365365
else:
366366
lattice = ""
@@ -1909,7 +1909,6 @@ def collect_data(self, payload, correlation_id):
19091909
last_orientation = ()
19101910
maxdev = -1
19111911
snapshotted_rotation_ids = set()
1912-
scan_numbers = {}
19131912
for scan in scans:
19141913
sweep = scan.sweep
19151914
acq = queue_model_objects.Acquisition()
@@ -1983,11 +1982,6 @@ def collect_data(self, payload, correlation_id):
19831982
path_template.run_number = int(ss0) if ss0 else 1
19841983
path_template.start_num = acq_parameters.first_image
19851984
path_template.num_files = acq_parameters.num_images
1986-
if path_template.suffix.endswith("h5"):
1987-
# Add scan number to prefix for interleaved hdf5 files (only)
1988-
# NBNB Tempoary fix, pending solution to hdf5 interleaving problem
1989-
scan_numbers[prefix] = scan_no = scan_numbers.get(prefix, 0) + 1
1990-
prefix += "_s%s" % scan_no
19911985
path_template.base_prefix = prefix
19921986

19931987
key = (

0 commit comments

Comments
 (0)