Ticket #7486 (closed: fixed)

Opened 7 years ago

Last modified 5 years ago

Allow CompareMDWorkspaces to ignore BoxID-s

Reported by: Alex Buts Owned by: Alex Buts
Priority: major Milestone: Release 2.6
Component: Framework Keywords:
Cc: Blocked By:
Blocking: Tester: Nick Draper

Description

ConvertToMD and ConvertToDiffractionMDWorkspace assign mainly random box ID-s when run multi-threaded. To be able to compare two equivalent MD workspaces with only some box-id different, one needs the possibility to ignore box ID-s when comparing.

Change History

comment:1 Changed 7 years ago by Alex Buts

refs #7486 This should fix it

Changeset: 02a502e9de1d61b7566e0c8cfb4e49b1db5a351b

comment:2 Changed 7 years ago by Alex Buts

  • Status changed from new to inprogress

refs #7486 Fixed missed ID comparison place

Changeset: 9ac408d8e94bf7a40cd2635a6d1a098bf4244072

comment:3 Changed 7 years ago by Alex Buts

refs #7486 Unit test for new comparison option.

Changeset: 7ba4e6de22dde327a4ccc891ad26c1e4754bef71

comment:4 Changed 7 years ago by Alex Buts

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

should be pretty straightforward ticket to test.

CompareMDWorkspaces algorithm has new option, which allows it to ignore MD workspaces, which are equivalent but have different box-id-s assigned to boxes.

one can get such workspace by running ConvertToMDworkflow (#7485) in multithreaded mode (commenting line 23 of the test) or just go and run the code sample from ConvertToMD page.

Then one can compareMDWorkspaces and see that it fails if new option is not selected and passes if it is.

Unit test also gives good example of what have changed.

comment:5 Changed 7 years ago by Nick Draper

  • Component changed from VATES to Framework

comment:6 Changed 7 years ago by Nick Draper

  • Status changed from verify to verifying
  • Tester set to Nick Draper

comment:7 Changed 7 years ago by Nick Draper

Passed by code review

comment:8 Changed 7 years ago by Nick Draper

  • Status changed from verifying to closed

Merge remote-tracking branch 'origin/feature/7486_IgnoreMDBoxIDComparing'

comment:9 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 8331

Note: See TracTickets for help on using tickets.