Ticket #3689 (closed: fixed)

Opened 9 years ago

Last modified 5 years ago

Save Properties and Run to NXS using C++ interface.

Reported by: Janik Zikovsky Owned by: Janik Zikovsky
Priority: critical Milestone: Iteration 30
Component: Mantid Keywords:
Cc: Blocked By:
Blocking: #3688 Tester: Roman Tolchenov

Description

Currently:

  • Saving logs uses NexusFileIO
  • Loading logs uses NexusClasses

Harmonize this into something less schizophrenic by have saveNexus() loadNexus() methods on Property that take care of this saving in each class. Hopefully won't be too hard of a job.

Change History

comment:1 Changed 9 years ago by Janik Zikovsky

  • Status changed from new to accepted

comment:2 Changed 9 years ago by Janik Zikovsky

In [14541]:

Refs #3689: Helper class for saving/loading logs (properties) and its unit test.

comment:3 Changed 9 years ago by Janik Zikovsky

In [14542]:

Refs #3689: Ambiguous namespace on windows fix. Also reduce unnecessary error messages.

comment:4 Changed 9 years ago by Janik Zikovsky

In [14543]:

Refs #3689: undefined reference fix (I hope)

comment:5 Changed 9 years ago by Janik Zikovsky

In [14545]:

Refs #3689: Missed one!

comment:6 Changed 9 years ago by Janik Zikovsky

In [14546]:

Refs #3689: Maybe this'll work on windows.

comment:7 Changed 9 years ago by Janik Zikovsky

In [14550]:

Refs #3689: This time it'll work (maybe)

comment:8 Changed 9 years ago by Janik Zikovsky

In [14551]:

Refs #3689: Save the Run object to a 'logs' group. No Goniometer yet.

comment:9 Changed 9 years ago by Janik Zikovsky

In [14555]:

Refs #3689: Saving a Goniometer object to NXS. Also V3D to NXS.

comment:10 Changed 9 years ago by Janik Zikovsky

In [14561]:

Refs #3689: Build fix

comment:11 Changed 9 years ago by Janik Zikovsky

In [14562]:

Refs #3689: Win fix?

comment:12 Changed 9 years ago by Janik Zikovsky

In [14570]:

Refs #3689: Modified saveNexusProcessed to use the methods in the Sample and Run objects. Sample logs split into 'logs' group. Still backwards-compatible with existing NXS processed files.

comment:13 Changed 9 years ago by Janik Zikovsky

  • Status changed from accepted to verify
  • Resolution set to fixed

comment:14 Changed 9 years ago by Janik Zikovsky

In [14571]:

Refs #3689: Remove dead code.

comment:15 Changed 9 years ago by Roman Tolchenov

  • Status changed from verify to verifying
  • Tester set to Roman Tolchenov

comment:16 Changed 9 years ago by Roman Tolchenov

  • Status changed from verifying to closed

Confirmed that functions loadProperty and saveProperty have been created in namespace PropertyNexus. Run object uses them to save and load properties.

comment:17 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 4536

Note: See TracTickets for help on using tickets.