Opened 16 years ago

Closed 15 years ago

#163 closed defect (fixed)

set_sourcetype not working

Reported by: anitat@… Owned by: Malte Marquarding
Priority: normal Milestone: ASAP 2.4
Component: General Version: 2.0
Severity: normal Keywords:
Cc:

Description

I can't get data.set_sourcetype to work. The error message is

/usr/local/lib/python2.5/site-packages/asap/scantable.pyc in set_sourcetype(self, match, matchtype, sourcetype)

1547 self._setsourcetype(stype) 1548 self.set_selection(basesel)

-> 1549 s._add_history("set_sourcetype", varlist)

1550 1551 def auto_quotient(self, preserve=True, mode='paired'):

NameError: global name 's' is not defined

Perhaps that 's' should be 'self'?

Change History (1)

comment:1 by Malte Marquarding, 15 years ago

Resolution: fixed
Status: newclosed

Fixed in changeset:1573.

Note: See TracTickets for help on using tickets.