Commit 0c5d6b34 by yiannis

Fixed bug that prevented partial frame extraction due to incorrect

value used for checking frame range.
parent 6f13d1dd
......@@ -2,7 +2,7 @@
///
// DAQ low level IO Library
//
// $Id: DaqFileIO.cxx,v 1.11 2005/04/14 14:19:17 yiannis Exp $
// $Id: DaqFileIO.cxx,v 1.12 2005/04/19 19:28:56 yiannis Exp $
// Date: March, 2005
// Author: Yiannis Papelis
//
......@@ -1581,10 +1581,6 @@ CDaqLowLevelIo::GetFullData(
m_LastError = "need to buld table of contents first";
return false;
}
if ( frm1 > GetFrames() || frm2 > GetFrames() ) {
m_LastError = "invalid frame range";
return false;
}
if ( (option & eINCLUDE_FRAME) && pFrmList == 0 ) {
m_LastError = "must provide storage for frames when eINCLUDE_FRAME is specified";
return false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment