Skip to content

Commit

Permalink
readDump forwards *args
Browse files Browse the repository at this point in the history
  • Loading branch information
sjgrimm committed Feb 29, 2024
1 parent b4c758e commit 1762b11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions postpic/datareader/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -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):
Expand Down

0 comments on commit 1762b11

Please sign in to comment.