Changeset 1335 in Sophya for trunk/SophyaPI/PIext/nobjmgr.cc


Ignore:
Timestamp:
Nov 16, 2000, 7:29:46 PM (25 years ago)
Author:
ercodmgr
Message:

modif/adaptation a FitsAutoReader - Reza 16/11/2000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/nobjmgr.cc

    r1330 r1335  
    946946 try {
    947947   FITS_AutoReader fiar(flnm);
    948    char buff[512], bun[16];
    949    strncpy(buff, flnm.c_str(), 512);
    950    int nhdu = FitsInFile::NbBlocks(buff);
     948   char bun[16];
     949   int nhdu = fiar.NbBlocks();
    951950   if (nobj.length()<1)  nobj = servnobjm->FileName2Name(flnm);
    952951   string name;
Note: See TracChangeset for help on using the changeset viewer.