Skip to content
Snippets Groups Projects
Commit 6a9d848e authored by Tiago de Freitas Pereira's avatar Tiago de Freitas Pereira
Browse files

Fixed sphinx issue

parent dadcaec2
No related branches found
No related tags found
1 merge request!31Make a sampleset work transparently with list of DelayedSamples
Pipeline #40049 passed
...@@ -181,15 +181,14 @@ def sample_to_hdf5(sample, hdf5): ...@@ -181,15 +181,14 @@ def sample_to_hdf5(sample, hdf5):
""" """
Saves the content of sample to hdf5 file Saves the content of sample to hdf5 file
Paremeters: Parameters
----------- ----------
sample: :any:`Sample` or :any:`DelayedSample` or :any:`list` sample: :any:`Sample` or :any:`DelayedSample` or :any:`list`
Sample to be saved Sample to be saved
hdf5: :any:`h5py.File` hdf5: `h5py.File`
Pointer to a HDF5 file for writing Pointer to a HDF5 file for writing
""" """
if isinstance(sample, list): if isinstance(sample, list):
for i, s in enumerate(sample): for i, s in enumerate(sample):
...@@ -204,12 +203,11 @@ def hdf5_to_sample(hdf5): ...@@ -204,12 +203,11 @@ def hdf5_to_sample(hdf5):
""" """
Reads the content of a HDF5File and returns a :any:`Sample` Reads the content of a HDF5File and returns a :any:`Sample`
Paremeters: Parameters
----------- ----------
hdf5: :any:`h5py.File` hdf5: `h5py.File`
Pointer to a HDF5 file for reading Pointer to a HDF5 file for reading
""" """
# Checking if it has groups # Checking if it has groups
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment