Skip to content
Snippets Groups Projects
Commit 806d03e4 authored by Ger van Diepen's avatar Ger van Diepen
Browse files

bug 1655: use File instead of RegularFile

parent a5758bda
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@
#include <casa/Containers/Record.h>
#include <casa/Utilities/LinearSearch.h>
#include <casa/OS/Path.h>
#include <casa/OS/RegularFile.h>
#include <casa/OS/File.h>
#include <casa/OS/HostInfo.h>
#include <casa/Exceptions/Error.h>
#include <iostream>
......@@ -149,9 +149,9 @@ void VdsMaker::getDataFileInfo (MS& ms, string& name, bool& regular,
ostringstream str;
str << specrec.asInt ("SEQNR");
name = string(ms.tableName()) + "/table.f" + str.str() + "_TSM1";
if (! RegularFile(name).exists()) {
if (! File(name).exists()) {
name = string(ms.tableName()) + "/table.f" + str.str() + "_TSM0";
if (! RegularFile(name).exists()) {
if (! File(name).exists()) {
regular = false;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment