Esempio n. 1
0
def read_vistrail_from_db(db_connection, abs_id, version):
    import vistrails.db.services.io
    from vistrails.core.vistrail.vistrail import Vistrail
    vistrail = vistrails.db.services.io.open_vistrail_from_db(
        db_connection, abs_id, version)
    Vistrail.convert(vistrail)
    return vistrail
Esempio n. 2
0
def read_vistrail_from_db(db_connection, abs_id, version):
    import vistrails.db.services.io
    from vistrails.core.vistrail.vistrail import Vistrail
    vistrail = vistrails.db.services.io.open_vistrail_from_db(db_connection, abs_id, version)
    Vistrail.convert(vistrail)
    return vistrail
Esempio n. 3
0
def read_vistrail(vt_fname):
    import vistrails.db.services.io
    from vistrails.core.vistrail.vistrail import Vistrail
    vistrail = vistrails.db.services.io.open_vistrail_from_xml(vt_fname)
    Vistrail.convert(vistrail)
    return vistrail
Esempio n. 4
0
def read_vistrail(vt_fname):
    import vistrails.db.services.io
    from vistrails.core.vistrail.vistrail import Vistrail
    vistrail = vistrails.db.services.io.open_vistrail_from_xml(vt_fname)
    Vistrail.convert(vistrail)
    return vistrail