Skip to content
Snippets Groups Projects
Commit 4e9e1eb0 authored by Martin Lange's avatar Martin Lange
Browse files

fix condition that got lost during rebase

parent 672b89fe
No related branches found
No related tags found
1 merge request!238Data memory-mapping
......@@ -175,7 +175,7 @@ class Output(IOutput, Loggable):
with ErrorLogger(self.logger):
xdata = tools.prepare(data, self.info)
if len(self.data) > 0:
if len(self.data) > 0 and not isinstance(self.data[-1][1], str):
d = self.data[-1][1]
if np.may_share_memory(d.data, xdata.data):
raise FinamDataError(
......
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