deepforge icon indicating copy to clipboard operation
deepforge copied to clipboard

Operations that return values inside an indented block throw an error in ExecutionView

Open umesh-timalsina opened this issue 4 years ago • 2 comments

When evaluating the metrics for the redshift estimation model I changed an operation definition to return a value from an elif block in python, which was executed once before this change. image

After the change, in the ExecutionView, following error is thrown: image

umesh-timalsina avatar Sep 30 '20 23:09 umesh-timalsina

The probable cause is that we cannot parse Operations that do a conditional return.

umesh-timalsina avatar Sep 30 '20 23:09 umesh-timalsina

Is anything returned in the earlier branch?

On Wed, Sep 30, 2020, 18:08 Umesh Timalsina [email protected] wrote:

When evaluating the metrics for the redshift estimation model I changed an operation definition to return a value from an elif block in python, which was executed once before this change. [image: image] https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F11476842%2F94748770-b63dd900-0347-11eb-81c1-800f37d334f9.png&data=02%7C01%7Cbrian.broll%40vanderbilt.edu%7C2eb658c63d574ea8d52908d86595ca0b%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C637371041299420771&sdata=ElCbk8cnpJ13u3tXforvOy2%2BHJw%2FbJmNAMCxLHp%2BRYY%3D&reserved=0

After the change, in the ExecutionView, following error is thrown: [image: image] https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F11476842%2F94748672-6eb74d00-0347-11eb-8ee9-333ee3779ad3.png&data=02%7C01%7Cbrian.broll%40vanderbilt.edu%7C2eb658c63d574ea8d52908d86595ca0b%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C637371041299420771&sdata=UFumZdxJ6U%2BbeMnp7QANjWPF%2FQaJ31x8KVGIui2FcpA%3D&reserved=0

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdeepforge-dev%2Fdeepforge%2Fissues%2F1934&data=02%7C01%7Cbrian.broll%40vanderbilt.edu%7C2eb658c63d574ea8d52908d86595ca0b%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C637371041299430765&sdata=L3bpCST%2Bjeft3tp8PyskW7H8OW1AbDt0Kx6OnaghGEU%3D&reserved=0, or unsubscribe https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FABGAQBMGVYCY2YOSQPFFS23SIO3ABANCNFSM4R7V3AXA&data=02%7C01%7Cbrian.broll%40vanderbilt.edu%7C2eb658c63d574ea8d52908d86595ca0b%7Cba5a7f39e3be4ab3b45067fa80faecad%7C0%7C0%7C637371041299440755&sdata=Xc3knL0plGCO8TqDz9jhef72Y%2BghKnFVBhkzM8eYpLY%3D&reserved=0 .

brollb avatar Oct 01 '20 00:10 brollb