Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
frangiPANe_snake
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container 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
DIADE
frangiPANe_snake
Commits
114d2fe7
Commit
114d2fe7
authored
3 months ago
by
christine.tranchant_ird.fr
Browse files
Options
Downloads
Patches
Plain Diff
update jb
parent
ddb6d7da
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
frangiPANe/snakemake_scripts/generate_jb_frangiPANe.py
+2
-3
2 additions, 3 deletions
frangiPANe/snakemake_scripts/generate_jb_frangiPANe.py
with
2 additions
and
3 deletions
frangiPANe/snakemake_scripts/generate_jb_frangiPANe.py
+
2
−
3
View file @
114d2fe7
...
...
@@ -29,11 +29,10 @@ for variable_name, variable_value in dico.items():
code_cell
+=
f
"
{
variable_name
}
=
'
{
variable_value
}
'
\n
"
nb
.
cells
.
insert
(
0
,
new_code_cell
(
code_cell
))
nb
.
cells
.
append
(
nbformat
.
new_code_cell
(
"
import matplotlib.pyplot as plt
"
))
nb
.
cells
.
append
(
nbformat
.
new_code_cell
(
f
"
plt.imshow(plt.imread(
'
{
dico
{
'
bam_png
'
}}
'
))
"
))
# Enregistrer le notebook modifié
with
open
(
jb_output
,
"
w
"
,
encoding
=
"
utf-8
"
)
as
notebook_file
:
nbformat
.
write
(
nb
,
notebook_file
)
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