Skip to content

Commit

Permalink
FIX: negative time-points only datasets would not be displayed
Browse files Browse the repository at this point in the history
Former-commit-id: b32b479 [formerly b32b479 [formerly 32f7269]]
Former-commit-id: 9d07304
Former-commit-id: ac6cad8
  • Loading branch information
LaurentRDC committed Feb 28, 2017
1 parent 539f5b4 commit 193b29b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iris/gui/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def compute_baseline(self, params):
def load_raw_dataset(self, path):
self.raw_dataset = RawDataset(path)
self.raw_dataset_loaded_signal.emit(True)
self.display_raw_data(timedelay = min(map(abs, self.raw_dataset.time_points)),
self.display_raw_data(timedelay = min(self.raw_dataset.time_points),
scan = min(self.raw_dataset.nscans))

@error_aware('Processed dataset could not be loaded.')
Expand Down

0 comments on commit 193b29b

Please sign in to comment.