Ticket #2160 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

Allow print (!!) commands in user (mask) files

Reported by: Nick Draper Owned by: Steve Williams
Priority: major Milestone: Iteration 27
Component: Mantid Keywords:
Cc: Richard.heenan@… Blocked By:
Blocking: #2284 Tester: Brett Tully

Description

COLETTE prints anything after !! into the terminal output.

Mantid should allow something similar.

The SANS team are not wedded to !!, we could use anything, even "print".

Change History

comment:1 Changed 10 years ago by Nick Draper

  • Priority changed from major to minor
  • Status changed from new to assigned

comment:2 Changed 10 years ago by Nick Draper

  • Cc Richard.heenan@… added
  • Priority changed from minor to major

comment:3 Changed 10 years ago by Steve Williams

  • Status changed from assigned to accepted

comment:4 Changed 10 years ago by Steve Williams

(In [8318]) SANS user files with lines starting with "print" will print a message to the log. Any unrecognised commands produce a warning or throw fixes #2142 re #2160

comment:5 Changed 10 years ago by Steve Williams

(In [8322]) Stop print statements from being interpreted as fatal errors re #2160

comment:6 Changed 10 years ago by Steve Williams

(In [8329]) Make ISIS SANS scripts error reporting a bit nicer re #2160

comment:7 Changed 10 years ago by Steve Williams

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

Both warnings and everything after print are writen to the log and a dialog box

comment:8 Changed 10 years ago by Nick Draper

  • Blocking 2284 added

comment:9 Changed 10 years ago by Brett Tully

  • Status changed from verify to reopened
  • Resolution fixed deleted

Prints when loaded through GUI, but not from a script.

comment:10 Changed 10 years ago by Steve Williams

(In [9502]) Ensuring that warning messages are printed re #2142 and #2160

comment:11 Changed 10 years ago by Steve Williams

  • Status changed from reopened to accepted

comment:12 Changed 10 years ago by Steve Williams

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

comment:13 Changed 10 years ago by Brett Tully

  • Status changed from verify to verifying
  • Tester set to Brett Tully

comment:14 Changed 10 years ago by Brett Tully

  • Status changed from verifying to closed

As with #2142, issue resolved.

comment:15 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 3007

Note: See TracTickets for help on using tickets.