small polishing
This commit is contained in:
parent
287d44c5df
commit
f85dba2835
|
@ -111,9 +111,9 @@ class Result:
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
action : str
|
action : str
|
||||||
Select from 'set', 'add', and 'del'
|
Select from 'set', 'add', and 'del'.
|
||||||
what : str
|
what : str
|
||||||
Attribute to change (must be from self.selection)
|
Attribute to change (must be from self.selection).
|
||||||
datasets : list of str or bool
|
datasets : list of str or bool
|
||||||
Name of datasets as list, supports ? and * wildcards.
|
Name of datasets as list, supports ? and * wildcards.
|
||||||
True is equivalent to [*], False is equivalent to []
|
True is equivalent to [*], False is equivalent to []
|
||||||
|
@ -169,12 +169,12 @@ class Result:
|
||||||
Path : str
|
Path : str
|
||||||
Path to the dataset.
|
Path to the dataset.
|
||||||
attr : str
|
attr : str
|
||||||
Attribute to get
|
Name of the attribute to get.
|
||||||
|
|
||||||
Returns:
|
Returns
|
||||||
--------
|
-------
|
||||||
attr at path, str
|
attr at path, str or None.
|
||||||
The requested attribute, will be none if not found.
|
The requested attribute, None if not found.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
with h5py.File(self.fname,'r') as f:
|
with h5py.File(self.fname,'r') as f:
|
||||||
|
|
Loading…
Reference in New Issue