mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 14:50:25 +01:00
feat: Path can now be specified in Corr.dump
This commit is contained in:
parent
b8c26fd41d
commit
8d8fa82bbe
1 changed files with 4 additions and 3 deletions
|
@ -584,16 +584,17 @@ class Corr:
|
|||
|
||||
return
|
||||
|
||||
def dump(self, filename):
|
||||
def dump(self, filename, **kwargs):
|
||||
"""Dumps the Corr into a pickle file
|
||||
|
||||
Parameters
|
||||
----------
|
||||
filename : str
|
||||
Name of the file
|
||||
path : str
|
||||
specifies a custom path for the file (default '.')
|
||||
"""
|
||||
dump_object(self, filename)
|
||||
return
|
||||
dump_object(self, filename, **kwargs)
|
||||
|
||||
def print(self, range=[0, None]):
|
||||
print(self.__repr__(range))
|
||||
|
|
Loading…
Add table
Reference in a new issue