Skip to content
Snippets Groups Projects
Commit 1762b11a authored by sjgrimm's avatar sjgrimm
Browse files

readDump forwards *args

parent b4c758ef
No related branches found
No related tags found
No related merge requests found
......@@ -97,7 +97,7 @@ def setsimreadercls(simreadercls):
'"Simulationreader_ifc"')
def readDump(dumpidentifier, **kwargs):
def readDump(dumpidentifier, *args, **kwargs):
'''
After using the fucntion :func:`postpic.chooseCode`, this function should
be the main function for reading a dump into postpic.
......@@ -119,7 +119,7 @@ def readDump(dumpidentifier, **kwargs):
global _dumpreadercls
if _dumpreadercls is None:
raise Exception('Specify dumpreaderclass first.')
return _dumpreadercls(dumpidentifier, **kwargs)
return _dumpreadercls(dumpidentifier, *args, **kwargs)
def readSim(simidentifier, **kwargs):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment