Fixed >= vs. > test leading to failure to tolerate dynamic indexes that are created at *exactly* the instant the output VCF is closed too
git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@4555 348d0f76-0448-11de-a6fe-93d51630548a
This commit is contained in:
parent
72c5b75460
commit
e6b008f87c
|
|
@ -284,7 +284,7 @@ public class RMDTrackBuilder extends PluginManager<FeatureCodec> {
|
||||||
Index index = IndexFactory.loadIndex(indexFile.getAbsolutePath());
|
Index index = IndexFactory.loadIndex(indexFile.getAbsolutePath());
|
||||||
|
|
||||||
// check if the file is up-to date (filestamp and version check)
|
// check if the file is up-to date (filestamp and version check)
|
||||||
if (index.isCurrentVersion() && indexFile.lastModified() > inputFile.lastModified())
|
if (index.isCurrentVersion() && indexFile.lastModified() >= inputFile.lastModified())
|
||||||
return index;
|
return index;
|
||||||
else if (indexFile.lastModified() < inputFile.lastModified())
|
else if (indexFile.lastModified() < inputFile.lastModified())
|
||||||
logger.warn("Index file " + indexFile + " is out of date (index older than input file), deleting and updating the index file");
|
logger.warn("Index file " + indexFile + " is out of date (index older than input file), deleting and updating the index file");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue