Ticket #1032 (closed: fixed)

Opened 11 years ago

Last modified 5 years ago

Issues with the Workspace/Algorithm history when loading from a nexus processed file

Reported by: Russell Taylor Owned by: Sofia Antony
Priority: major Milestone: Iteration 22
Component: Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

Aziz sent a processed nexus file which has highlighted a few problems.

  • It takes ages to load - and it's getting stuck on the reading in of the history, which contains ~180 algorithms. Profiling and examination of the code shows that the WorkspaceHistory & AlgorithmHistory use vectors for their internal storage, which are then subjected to multiple inserts and push_backs. I'm surprised that this accounts for all the slowness, but it's certainly not right.
  • Trying to create a python script from the history doesn't work - it only gives 2 entries (one being the LoadNexus). This could be because of the mechanism that was used to order the algorithms in the script, which is a counter in Algorithm (which has obviously been reset once you're in a different Mantid session).

Attachments

van_s2_new_corr-0.nxs (994.5 KB) - added by Russell Taylor 11 years ago.
Nexus file from Aziz

Change History

Changed 11 years ago by Russell Taylor

Nexus file from Aziz

comment:1 Changed 11 years ago by Nick Draper

  • Status changed from new to assigned
  • Owner set to Sofia Antony

comment:2 Changed 11 years ago by Russell Taylor

The slowness of loading is now covered under ticket #1074. Work on this ticket should concentrate on the fact that a history script can't be generated.

comment:3 Changed 11 years ago by Sofia Antony

(In [4201]) re #1032 -fix for issues with algorithm history when loading from nexus processed file

comment:4 Changed 11 years ago by Sofia Antony

(In [4202]) re #1032 -fix for build failure,

comment:5 Changed 11 years ago by Sofia Antony

  • Status changed from assigned to testing
  • Resolution set to fixed

comment:6 Changed 11 years ago by Roman Tolchenov

  • Status changed from testing to closed

comment:7 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 1880

Note: See TracTickets for help on using tickets.