Skip to content

Sometimes re-loading a file causes functions to not be able to be found #12

Description

@luketpickering
import pyNUISANCE as pn
rf = pn.RecordFactory()
hepdata_rec = rf.make_record({"type":"hepdata",
    "recordpath":"/root/software/NUISANCEMC/neutrino_data/data/NOvA/CrossSection/PRL.130.51802/submission-2098257/submission.yaml"})
ana = hepdata_rec.analysis("diffxsec_q2")
ana = hepdata_rec.analysis("diffxsec_q2")

will cause proselecta errors sometimes for the second analysis instantiation talking about missing symbols, even though they exist on the first call. Either loading the same file twice or requesting functions causes issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions