Skip to content
Snippets Groups Projects
Commit 05716555 authored by Valerio Mariani's avatar Valerio Mariani
Browse files

Merge branch 'testing'

parents 68c93687 132d72ad
No related branches found
No related tags found
No related merge requests found
...@@ -273,7 +273,8 @@ class CXIWriter: ...@@ -273,7 +273,8 @@ class CXIWriter:
if self._initialized is True: if self._initialized is True:
raise RuntimeError('Adding stacks to the writer is not possible after initialization.') raise RuntimeError('Adding stacks to the writer is not possible after initialization.')
if name in self._cxi_stacks: for entry in self._cxi_stacks:
if path == entry.path:
if overwrite is True: if overwrite is True:
del (self._cxi_stacks[name]) del (self._cxi_stacks[name])
else: else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment