[vistrails-users] vistrails get_api()

Zev Finnley zev.finnley at gmail.com
Thu May 25 15:44:02 EDT 2017


Hi,

I was trying to go the following example from the Vistrails FAQ:

import sys
sys.path.append("/path/to/vistrails_src")

import core.application as vt_app
vt_app.init()

import core.api
vt = core.api.get_api()
basic = vt.get_package("edu.utah.sci.vistrails.basic")
m1 = basic.String(value="Hello ")
m2 = basic.String(value="World!")
m3 = basic.ConcatenateString()
m3.str1 = m1.value
m3.str2 = m2.value
m4 = basic.StandardOutput(value=m3.value)
vt.tag_version("Hello World")
vt.execute()
vt.save_vistrail("/tmp/helloworld.vt")



But no function get_api exists in core.api. I am using Vistrails
2.2.4. Was this function removed?

Thanks,

Zev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.vistrails.org/pipermail/vistrails-users/attachments/20170525/e8214d79/attachment.html>


More information about the vistrails-users mailing list