From c4a9925905abc1108b33057240b17913de2e671a Mon Sep 17 00:00:00 2001 From: Thomas White Date: Fri, 4 Nov 2016 13:35:15 +0100 Subject: Add (more) warnings about unique axes --- src/ambigator.c | 2 ++ src/get_hkl.c | 3 +++ src/partialator.c | 1 + src/pattern_sim.c | 1 + src/process_hkl.c | 1 + src/render_hkl.c | 1 + 6 files changed, 9 insertions(+) (limited to 'src') diff --git a/src/ambigator.c b/src/ambigator.c index 659b17dc..f7837721 100644 --- a/src/ambigator.c +++ b/src/ambigator.c @@ -1099,6 +1099,7 @@ int main(int argc, char *argv[]) if ( s_sym_str == NULL ) { s_sym_str = strdup("1"); } + pointgroup_warning(s_sym_str); s_sym = get_pointgroup(s_sym_str); if ( s_sym == NULL ) return 1; free(s_sym_str); @@ -1113,6 +1114,7 @@ int main(int argc, char *argv[]) w_sym = NULL; amb = NULL; } else { + pointgroup_warning(w_sym_str); w_sym = get_pointgroup(w_sym_str); free(w_sym_str); if ( w_sym == NULL ) return 1; diff --git a/src/get_hkl.c b/src/get_hkl.c index 62c9e608..d6efe747 100644 --- a/src/get_hkl.c +++ b/src/get_hkl.c @@ -561,18 +561,21 @@ int main(int argc, char *argv[]) } if ( holo_str != NULL ) { + pointgroup_warning(holo_str); holo = get_pointgroup(holo_str); free(holo_str); } else { holo = NULL; } if ( mero_str != NULL ) { + pointgroup_warning(mero_str); mero = get_pointgroup(mero_str); free(mero_str); } else { mero = NULL; } if ( expand_str != NULL ) { + pointgroup_warning(expand_str); expand = get_pointgroup(expand_str); free(expand_str); } else { diff --git a/src/partialator.c b/src/partialator.c index 9f50620b..03eaee50 100644 --- a/src/partialator.c +++ b/src/partialator.c @@ -962,6 +962,7 @@ int main(int argc, char *argv[]) } if ( sym_str == NULL ) sym_str = strdup("1"); + pointgroup_warning(sym_str); sym = get_pointgroup(sym_str); free(sym_str); diff --git a/src/pattern_sim.c b/src/pattern_sim.c index c60b3280..e1e04789 100644 --- a/src/pattern_sim.c +++ b/src/pattern_sim.c @@ -533,6 +533,7 @@ int main(int argc, char *argv[]) } if ( sym_str == NULL ) sym_str = strdup("1"); + pointgroup_warning(sym_str); sym = get_pointgroup(sym_str); /* sym_str is used below */ diff --git a/src/process_hkl.c b/src/process_hkl.c index 29ef29a1..d2cf640b 100644 --- a/src/process_hkl.c +++ b/src/process_hkl.c @@ -692,6 +692,7 @@ int main(int argc, char *argv[]) } if ( sym_str == NULL ) sym_str = strdup("1"); + pointgroup_warning(sym_str); sym = get_pointgroup(sym_str); free(sym_str); diff --git a/src/render_hkl.c b/src/render_hkl.c index f9398c3d..b0dca996 100644 --- a/src/render_hkl.c +++ b/src/render_hkl.c @@ -914,6 +914,7 @@ int main(int argc, char *argv[]) if ( sym_str == NULL ) { sym_str = strdup("1"); } + pointgroup_warning(sym_str); sym = get_pointgroup(sym_str); free(sym_str); -- cgit v1.2.3