Skip to content

Commit

Permalink
removed glue warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
rekomodo committed Jul 10, 2024
1 parent c41d022 commit 69ff3d1
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ model.traps = [trap_1, trap_2, trap_3]
from myst_nb import glue
for i, trap in enumerate(model.traps):
for key, value in trap.__dict__.items():
if(key == "distance"):
continue
glue(f"small_trap{i}{key}", value, display=False)
glue(f"small_trap{i}density", densities[i], display=False)
##
Expand Down Expand Up @@ -242,6 +244,8 @@ model.traps = [trap_1, trap_2, trap_3]
## Glueing parameters for table
for i, trap in enumerate(model.traps):
for key, value in trap.__dict__.items():
if(key == "distance"):
continue
glue(f"big_trap{i}{key}", value, display=False)
glue(f"big_trap{i}density", densities[i], display=False)
##
Expand Down

0 comments on commit 69ff3d1

Please sign in to comment.