Пример #1
0
def loadExtensionsAndCapturers():
    extNames = ["ROOTaaS.iPyROOT." + name for name in ["cppmagic"]]
    ip = get_ipython()
    extMgr = ExtensionManager(ip)
    for extName in extNames:
        extMgr.load_extension(extName)
    cppcompleter.load_ipython_extension(ip)

    for capture in captures: capture.register()
Пример #2
0
def loadExtensionsAndCapturers():
    extNames = ["ROOTaaS.iPyROOT." + name for name in ["cppmagic"]]
    ip = get_ipython()
    extMgr = ExtensionManager(ip)
    for extName in extNames:
        extMgr.load_extension(extName)
    cppcompleter.load_ipython_extension(ip)

    for capture in captures:
        capture.register()
Пример #3
0
def loadMagicsCLA():
    global captures
    extNames = ["JupyROOT.magics." + name for name in ["cutlangmagic"]]
    ip = get_ipython()
    extMgr = ExtensionManager(ip)
    for extName in extNames:
        extMgr.load_extension(extName)

    for capture in captures:
        capture.register()
Пример #4
0
def loadMagicsAndCapturers():
    global captures
    extNames = ["JupyROOT.magics." + name for name in ["cppmagic","jsrootmagic"]]
    ip = get_ipython()
    extMgr = ExtensionManager(ip)
    for extName in extNames:
        extMgr.load_extension(extName)
    captures.append(StreamCapture())
    captures.append(CaptureDrawnPrimitives())

    for capture in captures: capture.register()
Пример #5
0
def loadMagicsAndCapturers():
    global captures
    extNames = ["JupyROOT.magics." + name for name in ["cppmagic","jsrootmagic"]]
    ip = get_ipython()
    extMgr = ExtensionManager(ip)
    for extName in extNames:
        extMgr.load_extension(extName)
    captures.append(StreamCapture())
    captures.append(CaptureDrawnPrimitives())

    for capture in captures: capture.register()
Пример #6
0
def loadExtensionsAndCapturers():
    global captures
    extNames = ["JupyROOT.magics." + name for name in ["cppmagic"]]
    ip = get_ipython()
    extMgr = ExtensionManager(ip)
    for extName in extNames:
        extMgr.load_extension(extName)
    cppcompleter.load_ipython_extension(ip)
    captures.append(StreamCapture(sys.stderr))
    captures.append(StreamCapture(sys.stdout))
    captures.append(CaptureDrawnPrimitives())

    for capture in captures: capture.register()
Пример #7
0
def loadExtensions():
    ip = get_ipython()
    extMgr = ExtensionManager(ip)
    extMgr.load_extension("JsMVA.JsMVAMagic")
Пример #8
0
def loadExtensions():
    ip     = get_ipython()
    extMgr = ExtensionManager(ip)
    extMgr.load_extension("JsMVA.JsMVAMagic")