Commit bc5e95a3 authored by Pierre Paleo's avatar Pierre Paleo
Browse files

DatasetAnalyzer: add hdf5_entry property

parent 4d047dbb
......@@ -163,6 +163,15 @@ class EDFDatasetAnalyzer(DatasetAnalyzer):
return self.dataset_scanner.pixel_size * 1e6
@property
def hdf5_entry(self):
"""
Return the HDF5 entry of the current dataset.
Not applicable for EDF (return None)
"""
return None
class HDF5DatasetAnalyzer(DatasetAnalyzer):
"""
......@@ -280,6 +289,14 @@ class HDF5DatasetAnalyzer(DatasetAnalyzer):
return ps
@property
def hdf5_entry(self):
"""
Return the HDF5 entry of the current dataset
"""
return self.dataset_scanner.entry
def analyze_dataset(dataset_path, processes_file=None, extra_options=None):
......
Supports Markdown
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