Re: [O] execute sbe macro fails

2013-07-15 Thread Torsten Wagner
Dear Eric, thanks a lot. That was really insightful. I didn't use babel for several month and I always struggle to get into it again. I clearly was confused about the variable definition. Using a function like I did, one has to do it basically twice, once for babel and once for the target

Re: [O] execute sbe macro fails

2013-07-14 Thread Eric Schulte
Hi Torsten, There are numerous syntactic issues in your example, try the attached version which works. Additionally, I've pushed up a change which makes the sbe macro somewhat more robust so that the quotes around 50 could now be removed. | Name | ID | 1.1| 1.2 | 1.3 | 1.4 | 2.1 | 2.2

[O] execute sbe macro fails

2013-07-13 Thread Torsten Wagner
Hi, I wrote a python code block which should translate scores into marks. The python code seems to work. It takes two arguments. The reached score (out of 100) as well as how many scores where needed to pass. Starting from that, higher grades are calculated on a even base. I want to call the