>> A path problem... >> It works here only because I have the files in data duplicated in >> yade/bin. >> I'll try and fix that. In the meantime you could move data files in >> bin too. >> Thanks for reporting! > Bruno, you have to include all data in the script itself (including > initial sphere positions, and also the results want to check). I don't > want to install data files in python modules directories. > Hi Vaclav,
Thanks for suggestion, but there is no need to install the data files I think. Can't I just point to the source path? How does it find the path when you type "yade --rebuild"? It sounds tedious to include the content of a full wallStress file in python script, then write it to a file at check-time in order to gnuplot it (I know we can plot with python, but it would need more work in this precise case). Another question is how we can return a result telling if something failed? I would just print a "failure/success" string in stdout, but you will have better design ideas probably. I tried to make the script return a value, but no success yet. Cheers. Bruno _______________________________________________ Mailing list: https://launchpad.net/~yade-dev Post to : yade-dev@lists.launchpad.net Unsubscribe : https://launchpad.net/~yade-dev More help : https://help.launchpad.net/ListHelp