Skip to content

Commit 3b92c6e

Browse files
committed
Version 0.3.2
1 parent 7dfe553 commit 3b92c6e

3 files changed

Lines changed: 11 additions & 3 deletions

File tree

examples/20_lenia.ipynb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,11 @@
140140
"outputs": [],
141141
"source": [
142142
"# Rule Params\n",
143-
"with resources.files(f\"cax.cs.lenia.patterns.{pattern}\").joinpath(\"rule_params.pickle\").open(\"rb\") as f:\n",
143+
"with (\n",
144+
"\tresources.files(f\"cax.cs.lenia.patterns.{pattern}\")\n",
145+
"\t.joinpath(\"rule_params.pickle\")\n",
146+
"\t.open(\"rb\") as f\n",
147+
"):\n",
144148
"\trule_params = pickle.load(f)"
145149
]
146150
},

examples/21_flow_lenia.ipynb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,11 @@
135135
"outputs": [],
136136
"source": [
137137
"# Rule Params\n",
138-
"with resources.files(f\"cax.cs.lenia.patterns.{pattern}\").joinpath(\"rule_params.pickle\").open(\"rb\") as f:\n",
138+
"with (\n",
139+
"\tresources.files(f\"cax.cs.lenia.patterns.{pattern}\")\n",
140+
"\t.joinpath(\"rule_params.pickle\")\n",
141+
"\t.open(\"rb\") as f\n",
142+
"):\n",
139143
"\trule_params = pickle.load(f)"
140144
]
141145
},

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "cax"
3-
version = "0.3.1"
3+
version = "0.3.2"
44
description = "Cellular Automata Accelerated in JAX"
55
authors = [{ name="Maxence Faldor", email="maxencefaldor@gmail.com" }]
66
readme = "README.md"

0 commit comments

Comments
 (0)