1 / 2

PyCool evolution ( interactivity, dictionary, rootmap)

PyCool evolution ( interactivity, dictionary, rootmap). Very old (as still done in ROOT5): Create .so with both interactive (python) and dictionary (I/O) information Very large selection.xml: many classes included in dictionary and rootmap

sondra
Download Presentation

PyCool evolution ( interactivity, dictionary, rootmap)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. PyCool evolution (interactivity, dictionary, rootmap) • Very old (as still done in ROOT5): • Create .so with both interactive (python) and dictionary (I/O) information • Very large selection.xml: many classes included in dictionary and rootmap • Autoload .so into python using one of the classes in rootmap • Current ROOT6 strategy (see 2013 Nov 27 meeting) • Use “interpreteronly” flag to remove dictionary (I/O) information from .so • The .so only includes interactive (python) information – the headers for JIT • Keep very large selection.xml: many classes included in rootmap • Misunderstanding – I thought selection.xml was ignored because of “interpreteronly” • Autoload .so into python using one of the classes in rootmap • New ROOT6 strategy (still to be implemented in PyCool): • Manually load .so into python – rootmap is no longer needed • Use an empty selection.xml – no need to include any classes in rootmap • OK also in the long term – selection.xml will be irrelevant to pcm creation • Keep “interpreteronly” – even if empty selection file makes this ~irrelevant • Different PyCool implementations for ROOT5 and ROOT6 • This is something we already considered (and ~worked on) before using “interpreteronly”

  2. Summary of ROOT6 pending issues in PyCool • Blocker: class _global_cpp has no attribute 'cool‘ (ROOT-5965) • High: use empty PyCool selection.xml (bug #103298) – to be fixed in COOL • High: c++ exception propagation to Python (ROOT-5603) • Medium: undefined std::transform (ROOT-5869 aka ROOT-5838) – fixed? • Medium: avoid deprecation warning (ROOT-5870) – to be fixed in COOL • Low: wrong return code from failed ProcessLine (ROOT-5698) • Low: Tok assertions if LLVMDEV is enabled (ROOT-5697)

More Related