Changeset 284


Ignore:
Timestamp:
01/24/05 17:21:14 (20 years ago)
Author:
kil064
Message:

handle environment variable in file name

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/SDReader.cc

    r205 r284  
    3030//#---------------------------------------------------------------------------
    3131#include <casa/Exceptions.h>
     32#include <casa/OS/Path.h>
    3233#include <atnf/PKSIO/PKSreader.h>
    3334
     
    8384  if (reader_) delete reader_; reader_ = 0;
    8485  Bool   haveBase, haveSpectra, haveXPol;
     86//
    8587  String inName(filename);
     88  Path path(inName);
     89  inName = path.expandedName();
    8690  filename_ = inName;
     91//
    8792  String format;
    8893  Vector<Bool> beams;
Note: See TracChangeset for help on using the changeset viewer.