Changeset 1944 for trunk


Ignore:
Timestamp:
11/04/10 17:10:43 (14 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: No (Bug fixes)

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs:

Put in Release Notes: No

Module(s): asapplotter, sdplot

Description:

Fixed a couple of bugs found in user tests for CASA 3.1

  • Fixed a bug which caused scantables never being sorted at all.
  • Fixed a bug which caused unexpected stacking of spectra in the

last panel of the plot.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asapplotter.py

    r1927 r1944  
    905905                stackcount = 0
    906906                panelcount += 1
    907             if (b > b0 or newpanel) and stackcount < nstack:
     907            #if (b > b0 or newpanel) and stackcount < nstack:
     908            if stackcount < nstack and (newpanel or (a == a0 and b > b0)):
    908909                y = []
    909910                if len(polmodes):
     
    995996        d0 = {'s': 'SCANNO', 'b': 'BEAMNO', 'i':'IFNO',
    996997              'p': 'POLNO', 'c': 'CYCLENO', 't' : 'TIME', 'r':None, '_r':None }
    997         if not (type(lorders) == list) or not (type(lorders) == tuple):
     998        if not (type(lorders) == list) and not (type(lorders) == tuple):
    998999            return None
    9991000        if len(lorders) > 0:
Note: See TracChangeset for help on using the changeset viewer.