convenient shortcut
This commit is contained in:
parent
7544e81349
commit
db09ca37e6
|
@ -444,6 +444,19 @@ class Result:
|
||||||
return self._manage_view('del',increments,times,phases,homogenizations,fields)
|
return self._manage_view('del',increments,times,phases,homogenizations,fields)
|
||||||
|
|
||||||
|
|
||||||
|
def view_reset(self):
|
||||||
|
"""
|
||||||
|
Reset to initial view.
|
||||||
|
|
||||||
|
Returns
|
||||||
|
-------
|
||||||
|
modified_view : damask.Result
|
||||||
|
View with all attributes visible.
|
||||||
|
|
||||||
|
"""
|
||||||
|
return self.view(increments='*',phases='*',homogenizations='*',fieds='*',protected=True)
|
||||||
|
|
||||||
|
|
||||||
def rename(self,
|
def rename(self,
|
||||||
name_src: str,
|
name_src: str,
|
||||||
name_dst: str):
|
name_dst: str):
|
||||||
|
|
Loading…
Reference in New Issue