Ignore:
Timestamp:
03/30/12 19:58:59 (12 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: Yes (CAS-3749)

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs: unit tests of sdplot

Put in Release Notes: No

Module(s): sdplot, sdfit, sdstat, sdflag, sdcal, sdreduce

Description:

Made asapplotter not to generate plotter window at start-up, but the window is
only generated at the first invokation of plotting operation.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/flagplotter.py

    r2175 r2451  
    2727        self._scan = None
    2828        asapplotter.__init__(self,visible=visible, **kwargs)
     29        self._assert_plotter(mode='reload')
    2930        self._plotter._set_window_title('Flag Plotter')
    3031        self._panelling = 'r'
     
    100101                         without writing the output. USE WITH CARE.
    101102        """
     103        if not self._data:
     104            raise RuntimeError("No scantable has been set yet.")
    102105        # simply calls scantable.save
    103106        self._data.save(name,format,overwrite)
Note: See TracChangeset for help on using the changeset viewer.