Ticket #1032 (closed: fixed)
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
Change History
Changed 11 years ago by Russell Taylor
- Attachment van_s2_new_corr-0.nxs added
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.
Note: See
TracTickets for help on using
tickets.
Nexus file from Aziz