Opened 18 years ago

Closed 18 years ago

#98 closed defect (fixed)

AIPSPATH is changed when importing ASAP

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

Description (last modified by Malte Marquarding)

Hi Malte, Currently, when I: import asap

It changes the AIPSPATH to:

os.environ['AIPSPATH']
Out[8]: '/opt/casa2/darwin/python/2.5/asap darwin somwhere'

Is it possible to have a variable different from AIPSPATH used as this prevents smooth integration with the rest of CASA. Currently, it's worked around by:

casapath = os.environ['AIPSPATH']
import asap
os.environ['AIPSPATH'] = casapath

Change History (1)

comment:1 by Malte Marquarding, 18 years ago

Description: modified (diff)
Resolution: fixed
Status: newclosed

Using the AIPSPATH now if it is defined.

Note: See TracTickets for help on using tickets.