From 8dea6c796aee418e4a3d518a41b74bfe156b4019 Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Tue, 18 Dec 2012 00:46:57 +0100 Subject: [PATCH] Use time constructor instead of obsolete met() method. --- scripts/obsutils.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/obsutils.py b/scripts/obsutils.py index 02c75ae..e354f7b 100755 --- a/scripts/obsutils.py +++ b/scripts/obsutils.py @@ -301,10 +301,8 @@ def set(pntdir, tstart=0.0, duration=1800.0, deadc=0.95, \ # Set GTI gti = GGti() - start = GTime() - stop = GTime() - start.met(tstart) - stop.met(tstart+duration) + start = GTime(tstart) + stop = GTime(tstart+duration) gti.append(start, stop) # Set energy boundaries -- libgit2 0.21.4