diff options
author | Thomas White <taw@physics.org> | 2016-11-04 13:35:15 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2016-11-04 13:35:15 +0100 |
commit | c4a9925905abc1108b33057240b17913de2e671a (patch) | |
tree | 7157d9cc6d4e716d257f0438feeb5398f3a025bb /src | |
parent | 775bbc2d0081978f05d9fa35175bd82cf34c3c40 (diff) |
Add (more) warnings about unique axes
Diffstat (limited to 'src')
-rw-r--r-- | src/ambigator.c | 2 | ||||
-rw-r--r-- | src/get_hkl.c | 3 | ||||
-rw-r--r-- | src/partialator.c | 1 | ||||
-rw-r--r-- | src/pattern_sim.c | 1 | ||||
-rw-r--r-- | src/process_hkl.c | 1 | ||||
-rw-r--r-- | src/render_hkl.c | 1 |
6 files changed, 9 insertions, 0 deletions
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); |