Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
dumux
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
dumux-repositories
dumux
Commits
172735e8
Commit
172735e8
authored
2 years ago
by
Anna Mareike Kostelecky
Browse files
Options
Downloads
Patches
Plain Diff
[bin][postprocessing] add pvpython version check for 5.11
parent
6be6607a
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!3355
[bin][postprocessing] add pvpython version check for 5.11
Checking pipeline status
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bin/postprocessing/extractlinedata.py
+12
-4
12 additions, 4 deletions
bin/postprocessing/extractlinedata.py
with
12 additions
and
4 deletions
bin/postprocessing/extractlinedata.py
+
12
−
4
View file @
172735e8
...
@@ -105,13 +105,21 @@ for curFile in args["files"]:
...
@@ -105,13 +105,21 @@ for curFile in args["files"]:
pvPythonVersion
=
GetParaViewVersion
()
pvPythonVersion
=
GetParaViewVersion
()
# apply and configure PlotOverLine filter
# apply and configure PlotOverLine filter
if
pvPythonVersion
>=
5.9
:
if
pvPythonVersion
>=
5.11
:
plotOverLine
=
PlotOverLine
()
plotOverLine
.
Resolution
=
args
[
"
resolution
"
]
plotOverLine
.
Point1
=
args
[
"
point1
"
]
plotOverLine
.
Point2
=
args
[
"
point2
"
]
elif
pvPythonVersion
>=
5.9
:
plotOverLine
=
PlotOverLine
(
Source
=
"
Line
"
)
plotOverLine
=
PlotOverLine
(
Source
=
"
Line
"
)
plotOverLine
.
Source
.
Resolution
=
args
[
"
resolution
"
]
plotOverLine
.
Source
.
Point1
=
args
[
"
point1
"
]
plotOverLine
.
Source
.
Point2
=
args
[
"
point2
"
]
else
:
else
:
plotOverLine
=
PlotOverLine
(
Source
=
"
High Resolution Line Source
"
)
plotOverLine
=
PlotOverLine
(
Source
=
"
High Resolution Line Source
"
)
plotOverLine
.
Source
.
Resolution
=
args
[
"
resolution
"
]
plotOverLine
.
Source
.
Resolution
=
args
[
"
resolution
"
]
plotOverLine
.
Source
.
Point1
=
args
[
"
point1
"
]
plotOverLine
.
Source
.
Point1
=
args
[
"
point1
"
]
plotOverLine
.
Source
.
Point2
=
args
[
"
point2
"
]
plotOverLine
.
Source
.
Point2
=
args
[
"
point2
"
]
# write output to csv writer
# write output to csv writer
writer
=
CreateWriter
(
csvFileName
,
plotOverLine
)
writer
=
CreateWriter
(
csvFileName
,
plotOverLine
)
...
...
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