From e09afceaa9f75b3b3267a1ba6be3508e9fe5bcd1 Mon Sep 17 00:00:00 2001 From: Andreas Freise <adf@star.bham.ac.uk> Date: Tue, 7 Jan 2014 20:47:23 +0000 Subject: [PATCH] ignoring Gnuplot/Pyhton term command while reading kat files (for now) --- pykat/finesse.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pykat/finesse.py b/pykat/finesse.py index bf1b2e3..0e44643 100644 --- a/pykat/finesse.py +++ b/pykat/finesse.py @@ -308,6 +308,9 @@ class kat(object): raise pkex.BasePyKatException("deriv_h command `{0}` is incorrect.".format(line)) else: self.deriv_h = float(v[1]) + elif(first == "gnuterm" or first == "pyterm"): + if self.verbose: + print "Ignoring Gnuplot/Python terminal command '{0}'".format(line) else: if self.verbose: print "Parsing `{0}` into pykat object not implemented yet, added as extra line.".format(line) -- GitLab