mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 02:30:44 +00:00
Add last date to header output
This commit is contained in:
parent
9d511fc91d
commit
d38a9e3536
@ -116,9 +116,10 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
|
||||
QDate date = str.edfHdr.startdate_orig.date(); // each STR.edf record starts at 12 noon
|
||||
int numDays = str.GetNumDataRecords();
|
||||
|
||||
qDebug() << str.filename << " starts at " << date << " for " << str.GetNumDataRecords()
|
||||
<< " days, with " << str.GetNumSignals() << " signals";
|
||||
qDebug() << str.filename << " starts at " << date << " for " << numDays
|
||||
<< " days, ending at " << date.addDays(numDays) << " with " << str.GetNumSignals() << " signals";
|
||||
|
||||
if (args.size() == 2) {
|
||||
exit(0);
|
||||
|
Loading…
Reference in New Issue
Block a user