Skip to content

Commit

Permalink
Merge pull request #97 from duncanmmacleod/gwtrigfind
Browse files Browse the repository at this point in the history
Updated to use renamed gwtrigfind module
  • Loading branch information
Alex L. Urban committed Jul 31, 2018
2 parents f517b10 + 9ed9e65 commit ba68807
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
6 changes: 3 additions & 3 deletions bin/gwdetchar-scattering
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ import numpy
from matplotlib import (use, rcParams)
use('agg') # nopep8

import trigfind
import gwtrigfind

from glue.lal import Cache

Expand Down Expand Up @@ -158,8 +158,8 @@ if args.plot_main_tiles:

fullcache = Cache()
for seg in statea:
cache = trigfind.find_trigger_files(args.main_channel, 'omicron',
seg[0], seg[1])
cache = gwtrigfind.find_trigger_files(args.main_channel, 'omicron',
seg[0], seg[1])
if len(cache) == 0:
warnings.warn("No Omicron triggers found for %s in segment [%d .. %d)"
% (args.main_channel, seg[0], seg[1]))
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ lscsoft-glue
dqsegdb
beautifulsoup4
lxml
https://github.com/ligovirgo/trigfind/archive/v0.3.tar.gz
gwtrigfind
6 changes: 1 addition & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
'astropy>=1.2',
'gwpy>=0.5',
'lscsoft-glue',
'trigfind>=0.3',
'gwtrigfind',
]
requires = [
'numpy',
Expand Down Expand Up @@ -91,10 +91,6 @@
install_requires=install_requires,
requires=requires,
extras_require=extras_require,
dependency_links=[
'https://github.com/ligovirgo/trigfind/archive/v0.3.tar.gz'
'#egg=trigfind-0.3',
],
use_2to3=True,
classifiers=[
'Programming Language :: Python',
Expand Down

0 comments on commit ba68807

Please sign in to comment.