aboutsummaryrefslogtreecommitdiff
path: root/src/partial_sim.c
diff options
context:
space:
mode:
authorValerio Mariani <valerio.mariani@desy.de>2014-07-10 16:35:50 +0200
committerThomas White <taw@physics.org>2014-07-21 15:31:58 +0200
commit282dee197bce06f9d37655c1775f53f6646e2e5d (patch)
treecef8f4803f75b4e78dd77202da3fe479dbc66014 /src/partial_sim.c
parent0508fc381cda5a3ead7069624ae5036183eee840 (diff)
Copy geometry file into stream
Diffstat (limited to 'src/partial_sim.c')
-rw-r--r--src/partial_sim.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/partial_sim.c b/src/partial_sim.c
index 862eadef..a113532b 100644
--- a/src/partial_sim.c
+++ b/src/partial_sim.c
@@ -689,15 +689,13 @@ int main(int argc, char *argv[])
ERROR("You must give a filename for the output.\n");
return 1;
}
- stream = open_stream_for_write(output_file);
+ stream = open_stream_for_write_2(output_file, geomfile, argc, argv);
if ( stream == NULL ) {
ERROR("Couldn't open output file '%s'\n", output_file);
return 1;
}
free(output_file);
- write_command(stream, argc, argv);
-
image.det = det;
image.width = det->max_fs + 1;
image.height = det->max_ss + 1;