Closed RossBoylan closed 4 years ago
It appears the parameter line number suffix has been omitted from a few of the output file names in input.c.
input.c
E.g., for ward_output.
ward_output
// Concatenate file name strcpy(output_file_name, model->params->output_file_dir); strcat(output_file_name, "/ward_output"); strcat(output_file_name, ".csv"); ward_output_file = fopen(output_file_name, "w");
time_step_hospital_interactions and time_step_hospital_output are the only other ones I see missing the line number, although it's possible the file name passed to write_network() has issues too (haven't traced it through).
time_step_hospital_interactions
time_step_hospital_output
write_network()
Every other one looks like this:
strcpy(output_file_name, model->params->output_file_dir); strcat(output_file_name, "/transmission_Run"); strcat(output_file_name, param_line_number); strcat(output_file_name, ".csv"); output_file = fopen(output_file_name, "w");
If the omission was not deliberate, it would probably be good to fix.
Since I'll be running in parallel I'll need more than that anyway, but I thought I might flag it.
I suspect it was more of an oversight, we've not used this file in any large scale runs yet. Agree it should be standardised.
It appears the parameter line number suffix has been omitted from a few of the output file names in
input.c
.E.g., for
ward_output
.time_step_hospital_interactions
andtime_step_hospital_output
are the only other ones I see missing the line number, although it's possible the file name passed towrite_network()
has issues too (haven't traced it through).Every other one looks like this:
If the omission was not deliberate, it would probably be good to fix.
Since I'll be running in parallel I'll need more than that anyway, but I thought I might flag it.