Skip to content

Commit 2372715

Browse files
Add a clear of the repository in order to free HDF5 resources
1 parent 51c9547 commit 2372715

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

python/example/fesapi.ipynb

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,24 @@
142142
"epc_file.serializeFrom(repo)\n",
143143
"epc_file.close()"
144144
]
145+
},
146+
{
147+
"cell_type": "markdown",
148+
"id": "6614030b",
149+
"metadata": {},
150+
"source": [
151+
"We can clear the repository to clean in memory repository and release HDF5 files."
152+
]
153+
},
154+
{
155+
"cell_type": "code",
156+
"execution_count": null,
157+
"id": "df354cf5",
158+
"metadata": {},
159+
"outputs": [],
160+
"source": [
161+
"repo.clear()"
162+
]
145163
}
146164
],
147165
"metadata": {

0 commit comments

Comments
 (0)