Skip to content
Snippets Groups Projects

Voyager parameter update

Merged Christopher Wipf requested to merge voyager-params into master
1 unresolved thread
Files
3
+ 9
6
@@ -16,17 +16,17 @@ from PyPDF2 import PdfFileReader, PdfFileWriter
from .. import IFOS, load_budget
from ..io import load_hdf5
logging.basicConfig(
format='%(message)s',
level=os.getenv('LOG_LEVEL', logging.INFO))
try:
import inspiral_range
except ImportError:
logging.warning("inspiral_range package not found, range will not be calculated")
inspiral_range = None
logging.basicConfig(
format='%(message)s',
level=os.getenv('LOG_LEVEL', logging.INFO))
TOLERANCE = 1e-6
CACHE_LIMIT = 5
@@ -272,6 +272,9 @@ gwinc/test/cache/<SHA1>. Old caches are automatically pruned.""",
rgroup.add_argument(
'--git-rev', '-g', metavar='REV',
help="specify specific git revision to compare against")
rgroup.add_argument(
'--head', '-gh', action='store_const', dest='git_rev', const='HEAD',
help="shortcut for '--git-rev HEAD'")
ogroup = parser.add_mutually_exclusive_group()
ogroup.add_argument(
'--plot', '-p', action='store_true',
@@ -292,7 +295,7 @@ gwinc/test/cache/<SHA1>. Old caches are automatically pruned.""",
if not remote:
sys.exit("Could not resolve upstream remote name")
git_rev = '{}/master'.format(remote)
logging.info("presumed upstream git reference: {}".format(git_rev))
logging.info("git rev: {}".format(git_rev))
git_hash = git_rev_resolve_hash(git_rev)
if not git_hash:
sys.exit("Could not resolve reference, could not run test.")
Loading