Skip to content

Commit

Permalink
Refs #4316 I guess it doesnt work in RHEL5 in release mode :(
Browse files Browse the repository at this point in the history
  • Loading branch information
Janik Zikovsky committed Dec 19, 2011
1 parent 54d48dc commit f5e5367
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions Code/Mantid/MantidPlot/mantidplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ def workspace(name):
#-----------------------------------------------------------------------------
# Intercept qtiplot "plot" command and forward to plotSpectrum for a workspace
def plot(source, *args, **kwargs):
"""Plot a workspace."""
if isinstance(source,WorkspaceProxy):
return plotSpectrum(source, *args, **kwargs)
else:
Expand Down
4 changes: 2 additions & 2 deletions Code/Mantid/MantidQt/SliceViewer/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ endif ()
###########################################################################

# python unit tests
if ( PYUNITTEST_FOUND )
#if ( 0 )
#if ( PYUNITTEST_FOUND )
if ( 0 )
pyunittest_add_test ( SliceViewerTest.py ${TEST_PY_FILES} "" )
add_dependencies ( SliceViewerTest.py MantidQt Algorithms )
add_dependencies ( GUITests SliceViewerTest.py )
Expand Down

0 comments on commit f5e5367

Please sign in to comment.