Ticket #10619 (inprogress)

Opened 6 years ago

Last modified 5 years ago

LoadEventNexus (+ LoadNexusMonitors and other LoadNexus...) cleaning/maintenance

Reported by: Federico M Pouzols Owned by: Federico M Pouzols
Priority: major Milestone: Release 3.5
Component: Framework Keywords: Maintenance, CORE
Cc: anders.markvardsen@… Blocked By: #7523, #8172, #8175, #10865, #10970, #10975, #11061, #11062, #11328, #11825
Blocking: Tester:

Description

While working on #8990, #9248, #10595, I saw a few suspicious points:

  • error checks and messages are not very good, reflecting also that the code structure is a bit messy
  • some chunks of code are probably duplicated
  • it seems that questions like "has this file any event data?" are tested in different ways in different parts of the code and different algorithms
  • the documentation seems outdated/not to say all the truth. It is not clear what is the support status for SNS and/or ISIS files, although both seem to be well supported in principle
  • It might be worth to have a look at how well these algorithms are covered by the system tests

These and possibly additional points need to be clarified and corrected if needed. It definitely looks like the set of Nexus loading algorithms should be better documented and/or harmonized.

I'd start by reviewing/expanding the tests. The description of this ticket may change as we clarify what needs fixing.

Change History

comment:1 Changed 6 years ago by Federico M Pouzols

  • Status changed from new to assigned

comment:2 Changed 6 years ago by Federico M Pouzols

Note that LoadEventNexus' doc says "NeXus files (produced by the SNS)" even though it is definitely able to load ISIS files too. This needs to be clarified.

comment:3 Changed 6 years ago by Federico M Pouzols

  • Milestone changed from Backlog to Release 3.4

comment:4 Changed 6 years ago by Federico M Pouzols

  • Blocked By 8172 added

I just found an old related ticket: #8172. Add the issues described there to the list of points to check here, and close that ticket when this one is done.

comment:5 Changed 6 years ago by Federico M Pouzols

  • Blocked By 8172 removed

comment:6 Changed 6 years ago by Federico M Pouzols

  • Blocked By 8172 added

It seems that I removed the 'blocked by' inadvertently.

comment:7 Changed 6 years ago by Federico Montesino Pouzols

  • Status changed from assigned to inprogress

Clarify that this is not SNS specific, re #10619

This definitely works with ISIS files, so the old text can be very confusing to users. For now, keep it as "works with SNS and ISIS", as it was done for the LoadNexusMonitors doc, as it is not clear if it works for others / is generally applicable.

Changeset: 09cf32c66907567d8f3167a6d9927de656228d62

comment:8 Changed 6 years ago by Federico Montesino Pouzols

Clarify that this is not SNS specific, re #10619

This definitely works with ISIS files, so the old text can be very confusing to users. For now, keep it as "works with SNS and ISIS", as it was done for the LoadNexusMonitors doc, as it is not clear if it works for others / is generally applicable.

Changeset: 9b2e5e08f4db2490cdad1c6ee058ef8cc7eba47b

comment:9 Changed 6 years ago by Federico M Pouzols

Note: NeXus IO has been much improved for table workspaces recently: #10123.

comment:10 Changed 6 years ago by Federico M Pouzols

  • Blocked By 7523 added

Another related ticket: #7523, inconsistent behavior of spectra filtering in LoadNexusProcessed.

comment:11 Changed 6 years ago by Federico M Pouzols

One more: #8175, clarify status of deprecated versions of LoadXXX algorithms (especially LoadISISNexus).

comment:12 Changed 6 years ago by Federico M Pouzols

  • Blocked By 8175 added

comment:13 Changed 6 years ago by Federico M Pouzols

  • Blocked By 10865 added

comment:14 Changed 6 years ago by Federico M Pouzols

  • Blocked By 10970 added

comment:15 Changed 6 years ago by Federico M Pouzols

  • Blocked By 10975 added

comment:16 Changed 6 years ago by Federico M Pouzols

  • Keywords Maintenance, CORE added; Maintenance removed

comment:17 Changed 6 years ago by Federico M Pouzols

  • Blocked By 11061, 11062 added

Added a couple of Coverity tickets that come with a bunch of Nexus, Instrument, Logs, related issues.

comment:18 Changed 6 years ago by Federico M Pouzols

  • Blocked By 11328 added

comment:19 Changed 5 years ago by Nick Draper

  • Milestone changed from Release 3.4 to Release 3.5

Moved to R3.5 at the R3.4 code freeze

comment:20 Changed 5 years ago by Federico M Pouzols

  • Blocked By 11825 added

comment:21 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 11461

Note: See TracTickets for help on using tickets.