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

Clarify issues with static methods in LoadEventNexus being used by other algorithms #11814

Closed
mantid-builder opened this issue Jan 27, 2015 · 4 comments
Assignees
Labels
Extra Attention Testers and Gate keepers should pay extra attention as this affects core aspects. Framework Issues and pull requests related to components in the Framework Maintenance Unassigned issues to be addressed in the next maintenance period.

Comments

@mantid-builder
Copy link
Collaborator

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:

  • LoadEventNexus::LoadEntryMetadata: used by LoadTOFRawNexus, LoadNexusMonitors
  • LoadEventNexus::runLoadIDFFromNexus: used by LoadISISNexus2
  • LoadEventNexus::runLoadInstrument: used by LoadTOFRawNexus, LoadPreNexus
  • LoadEventNexus::runLoadNexusLogs: used by LoadTOFRawNexus

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

@mantid-builder
Copy link
Collaborator Author

@FedeMPouzols (2015-02-06T13:01:01):
Added CORE keyword as suggested by @Anders-Markvardsen .


@NickDraper (2015-04-27T08:10:34):
Moved to R3.5 at the R3.4 code freeze

@mantid-builder mantid-builder added Framework Issues and pull requests related to components in the Framework Maintenance Unassigned issues to be addressed in the next maintenance period. Extra Attention Testers and Gate keepers should pay extra attention as this affects core aspects. labels Jun 3, 2015
@mantid-builder mantid-builder added this to the Release 3.5 milestone Jun 3, 2015
AntonPiccardoSelg added a commit that referenced this issue Jun 4, 2015
AntonPiccardoSelg added a commit that referenced this issue Jun 4, 2015
AntonPiccardoSelg added a commit that referenced this issue Jun 4, 2015
AntonPiccardoSelg added a commit that referenced this issue Jun 4, 2015
@NickDraper NickDraper modified the milestones: Release 3.5, Release 3.6 Sep 14, 2015
@NickDraper NickDraper modified the milestone: Release 3.6 Jan 22, 2016
@FedeMPouzols
Copy link
Contributor

There may be a chance to revisit this in the "loaders design document"?
@KarlPalmen @raquelalvarezbanos @Anders-Markvardsen

@KarlPalmen
Copy link
Contributor

@NickDraper
Copy link
Contributor

Too old, no progress closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Extra Attention Testers and Gate keepers should pay extra attention as this affects core aspects. Framework Issues and pull requests related to components in the Framework Maintenance Unassigned issues to be addressed in the next maintenance period.
Projects
None yet
Development

No branches or pull requests

4 participants