Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
RAGRights
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lifo
Anaïs Halftermeyer
RAGRights
Commits
b258ef00
Commit
b258ef00
authored
Jul 02, 2026
by
Delvallez Delvallez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ajoustements et corrections
parent
5f30d6c1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
compte_noeuds_sensible.py
mechir/tools/compte_noeuds_sensible.py
+1
-1
conversion_perturbation-txt2json.py
mechir/tools/conversion_perturbation-txt2json.py
+1
-1
No files found.
mechir/tools/compte_noeuds_sensible.py
View file @
b258ef00
...
@@ -100,7 +100,7 @@ def perturbation_type(pert):
...
@@ -100,7 +100,7 @@ def perturbation_type(pert):
def
stats
(
noeuds_perts
,
path
):
def
stats
(
noeuds_perts
,
path
):
s
=
"Nombre de noeuds relevés par perturbation"
s
=
"Nombre de noeuds relevés par perturbation"
for
pert
,
values
in
noeuds_perts
.
items
():
for
pert
,
values
in
noeuds_perts
.
items
():
s
+=
f
"
\n
{pert} : {values[
"
total
"
]}"
s
+=
f
"
\n
{pert} : {values[
'total'
]}"
for
pert
,
values
in
noeuds_perts
.
items
():
for
pert
,
values
in
noeuds_perts
.
items
():
s
+=
f
"
\n
{pert} : "
s
+=
f
"
\n
{pert} : "
for
i
,
j
,
mean
,
std
,
rmean
,
rstd
in
values
[
"noeuds_sensibles"
]:
for
i
,
j
,
mean
,
std
,
rmean
,
rstd
in
values
[
"noeuds_sensibles"
]:
...
...
mechir/tools/conversion_perturbation-txt2json.py
View file @
b258ef00
...
@@ -127,7 +127,7 @@ def construire_json(perturbations, full_replace, descr):
...
@@ -127,7 +127,7 @@ def construire_json(perturbations, full_replace, descr):
def
sauvegarder
(
obj
,
path
):
def
sauvegarder
(
obj
,
path
):
with
open
(
path
,
"w"
,
encoding
=
"utf-8"
)
as
f
:
with
open
(
path
,
"w
+
"
,
encoding
=
"utf-8"
)
as
f
:
json
.
dump
(
json
.
dump
(
obj
,
obj
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment