Skip to content

Commit

Permalink
Cleaned up
Browse files Browse the repository at this point in the history
  • Loading branch information
LENAIN Jean philippe committed Aug 3, 2017
1 parent 7955b28 commit 5865232
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
1 change: 1 addition & 0 deletions flaapluc/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
from automaticLightCurve import automaticLightCurve
import make3FGLxml
import extras
8 changes: 2 additions & 6 deletions flaapluc/automaticLightCurve.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Time-stamp: "2017-08-03 15:27:34 jlenain"
# Time-stamp: "2017-08-03 17:34:42 jlenain"

"""
FLaapLUC (Fermi/LAT automatic aperture photometry Light C<->Urve)
Expand Down Expand Up @@ -613,11 +613,7 @@ def createXML(self):
if os.path.isfile(modelfile):
return True

try:
import make3FGLxml
except ImportError:
logging.error('ERROR Can\'t import make3FGLxml.')
sys.exit(1)
import make3FGLxml

mymodel = make3FGLxml.srcList(self.catalogFile, evfile, modelfile)
logging.info('Running makeModel')
Expand Down

0 comments on commit 5865232

Please sign in to comment.