Commit 0dd8f1b9 authored by Pierre Paleo's avatar Pierre Paleo

dataset_analyser: replace tomo_n with len(projections)

parent 18e971f0
......@@ -91,7 +91,7 @@ class DatasetAnalyzer(object):
self.projections = self.dataset_scanner.projections
self.flats = self.dataset_scanner.flats
self.darks = self.dataset_scanner.darks
self.n_angles = self.dataset_scanner.tomo_n
self.n_angles = len(self.dataset_scanner.projections)
self.radio_dims = (self.dataset_scanner.dim_1, self.dataset_scanner.dim_2)
self._binning = (1, 1)
self.translations = None
......
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