aboutsummaryrefslogtreecommitdiff
path: root/src/crystfel_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crystfel_gui.c')
-rw-r--r--src/crystfel_gui.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/crystfel_gui.c b/src/crystfel_gui.c
index 6dd9b37d..6268d64c 100644
--- a/src/crystfel_gui.c
+++ b/src/crystfel_gui.c
@@ -1091,17 +1091,6 @@ int main(int argc, char *argv[])
if ( dtempl != NULL ) {
proj.dtempl = dtempl;
}
- } else if ( proj.stream_filename != NULL ) {
-
- Stream *st;
- st = stream_open_for_read(proj.stream_filename);
- if ( st != NULL ) {
- char *geom_str = stream_geometry_file(st);
- if ( geom_str != NULL ) {
- proj.dtempl = data_template_new_from_string(geom_str);
- }
- }
- stream_close(st);
}
act = gtk_ui_manager_get_action(proj.ui, "/mainwindow/view/centre");