From f15f4b792826c917f258c2e6195f6994d3450754 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 17 Oct 2017 13:33:37 +0200 Subject: Handle old indexing methods There are limits to how well they can be handled, but this avoids screwing users over too much. --- src/cell_explorer.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/cell_explorer.c') diff --git a/src/cell_explorer.c b/src/cell_explorer.c index a8a8a7dc..f3ec7cb7 100644 --- a/src/cell_explorer.c +++ b/src/cell_explorer.c @@ -1638,6 +1638,17 @@ int main(int argc, char *argv[]) fprintf(stderr, "\n"); + if ( stream_has_old_indexers(st) ) { + ERROR("----- Notice -----\n"); + ERROR("This stream contains indexing methods specified in an old way.\n"); + ERROR("The full indexing method names will not be shown by cell_explorer, \n"); + ERROR("only the methods themselves and prior information modifiers "); + ERROR("('cell' or 'latt').\n"); + ERROR("Similar indexing methods will be combined. For example\n"); + ERROR("'mosflm-raw' and 'mosflm-axes' will both show up as 'mosflm'\n"); + ERROR("To simplify matters, it's best to re-run indexamajig.\n"); + ERROR("------------------\n"); + } close_stream(st); w.cols_on[0] = 1; -- cgit v1.2.3