From 5b5edcc2fb28c2ec166a44a5a821f138ef3ac4ef Mon Sep 17 00:00:00 2001 From: Thomas White Date: Sat, 9 Mar 2019 11:39:14 +0100 Subject: cell_tool: Improve messages --- src/cell_tool.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/cell_tool.c b/src/cell_tool.c index 59500cbb..14faac3b 100644 --- a/src/cell_tool.c +++ b/src/cell_tool.c @@ -95,12 +95,16 @@ static int comparecells(UnitCell *cell, const char *comparecell, return 0; } else { UnitCell *trans; - STATUS("Relationship found:\n"); + STATUS("Relationship found. To become similar to the reference" + " cell, the input cell should be transformed by:\n"); rtnl_mtx_print(m); STATUS("Transformed version of input unit cell:\n"); trans = cell_transform_rational(cell, m); cell_print(trans); cell_free(trans); + STATUS("NB transformed cell might not really be triclinic, " + "it's just that I don't (yet) know how to work out what " + "it is.\n"); } @@ -350,6 +354,9 @@ static int transform(UnitCell *cell, const char *trans_str) STATUS("------------------> The transformed unit cell:\n"); cell_print(nc); + STATUS("NB transformed cell might not really be triclinic, " + "it's just that I don't (yet) know how to work out what " + "it is.\n"); return 0; } -- cgit v1.2.3