This ticket needs some works.
My 5 minutes check that this is not trivial:
EntityViewType (enum in Python is not exposed in synapser):
I cannot pass the string value:
Getting it in synapser and setting it as param in the constructor does not works:
But pyGet and pySet does work:
It turns out getting the namespace can be as simple as running the code below in zzz.R:
Then defining assign Enum callback:
After synapser is install and load, EntityViewType is available:
A complete test that the feature will work in synapser:
Notes to self: need to update the file view vignette.
Verified that synapserutils does not break with PythonEmbedInR 0.3.25: http://jenkins.sagebase.org:8080/user/sagebio/my-views/view/synapserutils/job/synapserutils_dev/7/RVERS=3.5,label=MacOS-10.11/console
And the change in synapser works:
It does work!