diff options
author | Thomas White <taw@physics.org> | 2017-10-17 13:33:37 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2017-10-17 13:33:37 +0200 |
commit | f15f4b792826c917f258c2e6195f6994d3450754 (patch) | |
tree | 02ebac694c3b1a49059089fa3c65879a3bda2896 /src/cell_explorer.c | |
parent | c0ce8fb481a89225a99c3ab27571ed22709d4ac2 (diff) |
Handle old indexing methods
There are limits to how well they can be handled, but this avoids
screwing users over too much.
Diffstat (limited to 'src/cell_explorer.c')
-rw-r--r-- | src/cell_explorer.c | 11 |
1 files changed, 11 insertions, 0 deletions
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; |