Commit 1f0b1f5d authored by Thomas Vincent's avatar Thomas Vincent

minor fix and clean-up

parent 66c3a240
......@@ -114,8 +114,6 @@ class FitWidget(Qt.QWidget):
Argument is the name of the file containing the results.
"""
__PROGRESS_DELAY = 500
def __init__(self, qspaceFile, **kwargs):
super(FitWidget, self).__init__(**kwargs)
......
......@@ -242,7 +242,7 @@ class FitH5(XsocsH5Base):
col_idx = 2
for process in processes:
result_names = self.get_result_names(entry, process)
for axis in range(self.get_qspace_dimension_names(entry)):
for axis in range(len(self.get_qspace_dimension_names(entry))):
for result_name in result_names:
results[:, col_idx] = self.get_axis_result(
entry, process, result_name, axis)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment