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
Clarify issues with static methods in LoadEventNexus being used by other algorithms #11814
Comments
@FedeMPouzols (2015-02-06T13:01:01): @NickDraper (2015-04-27T08:10:34): |
There may be a chance to revisit this in the "loaders design document"? |
This design document is at https://github.com/mantidproject/documents/blob/loader-refectorisation/Design/loaderfact.md |
Too old, no progress closing. |
This issue was originally TRAC 10975
Original Reporter: @FedeMPouzols
This ticket is blocks : TRAC10619
As explained in http://trac.mantidproject.org/mantid/ticket/8172#comment:18, the LoadEventNexus algorithm class has several static methods that are used from other algorithms:
To re-use the already open NeXus file instead of re-opening it several times, these algorithms would need to be updated at once, so this was left out of ticket http://trac.mantidproject.org/mantid/ticket/8172.
In principle it should be possible to pass the (static) methods listed above a reference or pointer to the NeXus::File objects instead of/in addition to the file name.
Also, this use of static methods looks a bit suspicious and calling for maintenance trouble. Clarify and/or fix this issue.
Keywords: Maintenance, CORE
The text was updated successfully, but these errors were encountered: