A program to recognize and reward our most engaged community members
Dear all,
is it possible to register a Compose function that makes use of Python functionalities?
Thank you in advance!
Christian
Hi Christian,
I created a function mymean which executes a python script which plots a sinewave. I was able to register the function and could find it among the registered functions in hypergraph.
<?xml version="1.0" encoding="UTF-8"?>
Thank you, Sijo!
This works for me as well, but is not necessarily an evidance that this is used correctly in HG when executing the functioni, right?
Best
Hello Christian,
I think you are right. I tried the following script which evaluates the values of a sine wave in compose python and retrieve back its values in a variable in oml side. This is not found to be working in Hypergraph side.
Step 1: I registered the following function in Compose which returns the values of a sine wave computed in Compose python.
Step 2:
I created a plot using the ANGACC file available in tutorials folder. When I tried to create a new curve based on the ANGACC plot and mymean function, I am getting the following error in Hypergraph. So I think we dont support registering functions which includes python bridge capabilities.
Thank you, Sijo! After an exchange with the development team, they confirmed that this on the plan for 2019(.1)
After an exchange with the development team, they confirmed that this on the plan for 2019(.1)