diff options
-rw-r--r-- | libcrystfel/src/taketwo.c | 6 | ||||
-rw-r--r-- | src/indexamajig.c | 4 |
2 files changed, 4 insertions, 6 deletions
diff --git a/libcrystfel/src/taketwo.c b/libcrystfel/src/taketwo.c index 12b608f8..ecd2c447 100644 --- a/libcrystfel/src/taketwo.c +++ b/libcrystfel/src/taketwo.c @@ -115,11 +115,7 @@ struct TakeTwoCell /* Tolerance for rot_mats_are_similar */ #define TRACE_TOLERANCE (deg2rad(3.0)) -/** TODO: - * - * - May need to be capable of playing with the tolerances/#defined stuff. - * - Multiple lattices - */ +/* TODO: Multiple lattices */ /* ------------------------------------------------------------------------ diff --git a/src/indexamajig.c b/src/indexamajig.c index 2a7a5509..d232b66f 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -175,7 +175,7 @@ static void show_help(const char *s) " --taketwo-member-threshold Minimum number of members in network\n" " --taketwo-len-tolerance Reciprocal space length tolerance (1/A)\n" " --taketwo-angle-tolerance Reciprocal space angle tolerance (in degrees)\n" -" --taketwo-trace-tolerance Rotation matrix trace tolerance\n" +" --taketwo-trace-tolerance Rotation matrix equivalence tolerance (in degrees)\n" ); } @@ -578,6 +578,7 @@ int main(int argc, char *argv[]) ERROR("Invalid value for --taketwo-len-tolerance\n"); return 1; } + iargs.taketwo_opts.len_tol *= 1e10; break; case 34: @@ -596,6 +597,7 @@ int main(int argc, char *argv[]) ERROR("Invalid value for --taketwo-trace-tolerance\n"); return 1; } + iargs.taketwo_opts.trace_tol = deg2rad(iargs.taketwo_opts.trace_tol); break; case 0 : |