- Timestamp:
- 01/13/17 10:11:16 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/FACT++_part_filenames/src/DataWriteFits2.cc
r18600 r18734 172 172 { 173 173 //Form filename, based on runid and run-type 174 fFileName = FormFileName(dynamic_pointer_cast<factofits>(fFile)?"fits.fz ":"fits");174 fFileName = FormFileName(dynamic_pointer_cast<factofits>(fFile)?"fits.fz.part":"fits.part"); 175 175 176 176 if (boost::filesystem::exists(fFileName)) … … 354 354 } 355 355 356 boost::filesystem::rename( 357 fFileName, 358 fFileName.substr( 359 0, 360 fFileName.size() - string(".part").size() 361 ) 362 ); 363 356 364 return true; 357 365 }
Note:
See TracChangeset
for help on using the changeset viewer.