Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
postpic
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stephan Kuschel
postpic
Commits
1762b11a
Commit
1762b11a
authored
1 year ago
by
sjgrimm
Browse files
Options
Downloads
Patches
Plain Diff
readDump forwards *args
parent
b4c758ef
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
postpic/datareader/__init__.py
+2
-2
2 additions, 2 deletions
postpic/datareader/__init__.py
with
2 additions
and
2 deletions
postpic/datareader/__init__.py
+
2
−
2
View file @
1762b11a
...
...
@@ -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
):
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment