yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #23053
Re: [Question #690741]: Error in saveDataTxt
Question #690741 on Yade changed:
https://answers.launchpad.net/yade/+question/690741
Jan Stránský proposed the following answer:
Hello,
> And I get this error:
this typically happens if you try to "save nothing", i.e. empty plot.data:
###
from yade import plot
print(plot.data) # returns empty dict, {}
plot.saveDataTxt("/tmp/test.txt") # the error you got
###
check how plot.data looks like at the time of saving
> I want to know if should I use hd5 format file instead of txt file?
it depends on you. After all, it is "just data" and both formats are
interchangeable.
cheers
Jan
--
You received this question notification because your team yade-users is
an answer contact for Yade.