Skip to content

Draft: Fix sino normalization

Pierre Paleo requested to merge fix_sino_normalization into 1.0

This MR fixes the following piece of code (reported as error by pylint):

                intensities = DataUrl(path=kwargs["dataset_url"])
                if intensities is None:
                    raise ValueError("No dataset for intensity monitoring found")
                else:
                    i_values = set(intensities.values())
                    if len(i_values) == 1 and list(i_values)[0] is None:
                        raise ValueError("No dataset for intensity monitoring found")

                    intensities = [
                        intensities[key] for key in sorted(intensities.keys())
                    ]

Merge request reports

Loading