aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Evelyn2017-03-21 14:56:07 +0000
committerGravatar Evelyn2017-03-21 14:56:07 +0000
commitcceb0a76d00d2ee8f722904a89181c3927266500 (patch)
tree0882046d1fe92ae8d794c714f355a5efbbf68a64
parentNR: Add length at origin and division/join, shorten summary for TIPLOC only l... (diff)
signature
NR: dividing 'from' if division at origin, 'as' otherwise
-rw-r--r--modules/nr.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/nr.py b/modules/nr.py
index 6425cdaf..95fca02b 100644
--- a/modules/nr.py
+++ b/modules/nr.py
@@ -291,8 +291,9 @@ class Module(object):
parsed["joins"] = "join" in parsed["associations"].keys()
if parsed["divides"]:
divide = parsed["associations"]["divide"]
- parsed["divide_summary"] = "%sDividing as %s to %s (%s)%s at " % (
+ parsed["divide_summary"] = "%sDividing %s %s to %s (%s)%s at " % (
Utils.color(Utils.FONT_BOLD),
+ "from" if parsed["first"] else "as",
divide["uid"], divide["destination"],
divide["destCRS"] if "destCRS" in divide else divide["destTiploc"],
Utils.color(Utils.FONT_RESET)