yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #25681
Re: [Question #697379]: Optimise material parameter
Question #697379 on Yade changed:
https://answers.launchpad.net/yade/+question/697379
Status: Open => Answered
Jan Stránský proposed the following answer:
Well, of course, if you have "SyntaxError: 'continue' not properly in loop", it does nothing.
Python do not execute anything in case of syntax error.
First, try your simulation in one run, without any loop. You would have the same problem.
You have "def stopUnloading()" (starting a new scope), inside if condition and there "continue", which cannot be there (as the error says).
After you tune your single simulation, you can put the same code inside
a for loop.
Cheers
Jan
--
You received this question notification because your team yade-users is
an answer contact for Yade.