Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running some load routines twice clears the parameter map #2319

Closed
martyngigg opened this issue Aug 13, 2010 · 1 comment
Closed

Running some load routines twice clears the parameter map #2319

martyngigg opened this issue Aug 13, 2010 · 1 comment
Assignees
Milestone

Comments

@martyngigg
Copy link
Member

When running the following script the first call to getNumberParameter is successful but the second fails.

w1 = LoadEventPreNeXus(EventFilename="../../../Test/Data/sns_event_prenexus/CNCS_7850_neutron_event.dat", OutputWorkspace="w1")
w1_inst = mtd.getMatrixWorkspace("w1").getInstrument()
print w1_inst.getNumberParameter("scale-factor")

w2 = LoadEventPreNeXus(EventFilename="../../../Test/Data/sns_event_prenexus/CNCS_7850_neutron_event.dat", OutputWorkspace="w2")
w2_inst = mtd.getMatrixWorkspace("w2").getInstrument()
print w2_inst.getNumberParameter("scale-factor")
@martyngigg
Copy link
Member Author

This issue was originally trac ticket 1472

@martyngigg martyngigg self-assigned this Jun 3, 2015
@martyngigg martyngigg added this to the Iteration 25 milestone Jun 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant