Changeset 12710
- Timestamp:
- 12/07/11 09:00:48 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/Fits.cc
r12689 r12710 213 213 } 214 214 fFile->WriteKeyNT("COMMENT", fTableDesc, ""); 215 //END COMMENTS UPDATE 215 216 if (fFile->GetNumRows() == 0) 217 {//if new file, then write header keys -> reset fEndMjD used as flag 218 fEndMjD = 0; 219 } 220 else 221 {//file is beingn updated. Prevent from overriding header keys 222 fEndMjD = Time().Mjd(); 223 } 216 224 return fFile->GetNumRows()==0 ? WriteHeaderKeys() : true; 217 225 }
Note:
See TracChangeset
for help on using the changeset viewer.