From 906343187ba714cfdbe3f9d433cf4ffd8f453cfe Mon Sep 17 00:00:00 2001 From: Celine Mercier Date: Thu, 6 Jul 2017 16:42:27 +0200 Subject: [PATCH] Fixed bug with view option in obi less and obi check --- python/obitools3/commands/check.pyx | 2 +- python/obitools3/commands/less.pyx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/obitools3/commands/check.pyx b/python/obitools3/commands/check.pyx index d72b128..d1db019 100644 --- a/python/obitools3/commands/check.pyx +++ b/python/obitools3/commands/check.pyx @@ -49,7 +49,7 @@ def run(config): # Open input view uif there is one if config['obi']['inputview'] is not None : - iview = View.open(d, config['obi']['inputview']) + iview = View.open(d, config['obi']['view']) print(repr(iview)) else : diff --git a/python/obitools3/commands/less.pyx b/python/obitools3/commands/less.pyx index 175b814..7a15f74 100644 --- a/python/obitools3/commands/less.pyx +++ b/python/obitools3/commands/less.pyx @@ -47,7 +47,7 @@ def run(config): d = DMS.open(config['obi']['defaultdms']) # Open input view - iview = View.open(d, config['obi']['inputview']) + iview = View.open(d, config['obi']['view']) # Print for i in range(config['less']['print']) :