diff --git a/Printers/src/printers/hdf5printer/hdf5printer.cpp b/Printers/src/printers/hdf5printer/hdf5printer.cpp index 613151be3c..f02784467e 100644 --- a/Printers/src/printers/hdf5printer/hdf5printer.cpp +++ b/Printers/src/printers/hdf5printer/hdf5printer.cpp @@ -389,7 +389,7 @@ namespace Gambit // Name of file where combined results from previous (unfinished) runs end up std::ostringstream rename; - rename << finalfile << "_temp_combined"; + rename << finalfile << "_combined"; tmp_comb_file = rename.str(); // HDF5 group (virtual "folder") inside output file in which to store datasets @@ -420,50 +420,54 @@ namespace Gambit #endif if(HDF5::checkFileReadable(finalfile, msg_finalfile)) { - if(overwrite_file and not get_resume()) + // Note: "not resume" means "start or restart" + if(not get_resume()) { - // Note: "not resume" means "start or restart" - // Delete existing output file - std::ostringstream command; - command << "rm -f "<. Filenames are to be supplied in a single" "\n ascii file, on separate lines." "\n In this mode will only be used for naming the output" - "\n file (Note: WITHOUT the usual addition of '_temp_combined'!!!)." + "\n file (Note: WITHOUT the usual addition of '_combined'!!!)." "\n All files must have the same ." "\n Note: Auxilliary ('RA') datasets will be IGNORED! These should" "\n be combined during 'normal' combination of results from a single" @@ -196,7 +196,7 @@ int main(int argc, char* argv[]) // Name of temporary combined file, if one exists std::ostringstream name; - name << finalfile << "_temp_combined"; + name << finalfile << "_combined"; tmp_comb_file = name.str(); combined_file_exists = Utils::file_exists(tmp_comb_file);