Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Gyacomo
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
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
Antoine Cyril David Hoffmann
Gyacomo
Commits
94448695
Commit
94448695
authored
10 months ago
by
Antoine Cyril David Hoffmann
🌱
Browse files
Options
Downloads
Patches
Plain Diff
rename and clean
parent
84ba1c1b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
basic_scripts/python_utilities/plot_stdout_fluxes.py
+0
-3
0 additions, 3 deletions
basic_scripts/python_utilities/plot_stdout_fluxes.py
with
0 additions
and
3 deletions
basic_scripts/python_utilities/plot_std
_
out.py
→
basic_scripts/python_utilities/plot_stdout
_fluxes
.py
+
0
−
3
View file @
94448695
...
@@ -9,8 +9,6 @@ def read_data(filename):
...
@@ -9,8 +9,6 @@ def read_data(filename):
dict
=
{
"
t
"
:[],
"
Pxi
"
:[],
"
Pxe
"
:[],
"
Qxi
"
:[],
"
Qxe
"
:[]}
dict
=
{
"
t
"
:[],
"
Pxi
"
:[],
"
Pxe
"
:[],
"
Qxi
"
:[],
"
Qxe
"
:[]}
with
open
(
filename
,
'
r
'
)
as
file
:
with
open
(
filename
,
'
r
'
)
as
file
:
for
line
in
file
:
for
line
in
file
:
#match = re.match(r"\|t =\s*([\d.]+)\| Pxi =\s*([\d.E+-]+)\| Qxi =\s*([\d.E+-]+)\|", line)
a
=
line
.
split
(
'
|
'
)
a
=
line
.
split
(
'
|
'
)
for
i
in
a
[
1
:
-
1
]:
for
i
in
a
[
1
:
-
1
]:
b
=
i
.
split
(
'
=
'
)
b
=
i
.
split
(
'
=
'
)
...
@@ -25,7 +23,6 @@ if __name__ == "__main__":
...
@@ -25,7 +23,6 @@ if __name__ == "__main__":
filename
=
sys
.
argv
[
1
]
filename
=
sys
.
argv
[
1
]
dict
=
read_data
(
filename
)
dict
=
read_data
(
filename
)
print
(
dict
)
time
=
dict
[
"
t
"
]
time
=
dict
[
"
t
"
]
dict
.
pop
(
'
t
'
,
None
)
dict
.
pop
(
'
t
'
,
None
)
...
...
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