diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 20b174c7804f9099c95d117113a684e27098aad7..6621a33c0ae2bb32f36c0c115ce23ff20bfa6040 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,7 +21,6 @@ exitcode-jessie: - pip install -r requirements.txt - pip install coverage - pip install coverage-badge - - pip install chainconsumer # Required by some of the example scripts - python setup.py install - coverage erase - coverage run --include=tupak/* -a test/prior_tests.py diff --git a/requirements.txt b/requirements.txt index 8903ef16793d7ae5400228df606301c329d9473c..fe8a629b9a049938e04c73d9c49034b19bffc522 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,10 +1,9 @@ future dynesty corner -patsy>=0.4 numpy>=1.9 matplotlib>=2.0 -scipy>=0.19 +scipy gwpy pandas astropy diff --git a/tupak/result.py b/tupak/result.py index be3a05e612ced46f013d3d46c709c1348f6f3c3e..4d5ba821f446d568f3c6ab263e0fd9f1628bae76 100644 --- a/tupak/result.py +++ b/tupak/result.py @@ -3,14 +3,14 @@ import os import numpy as np import deepdish import pandas as pd -import tupak try: from chainconsumer import ChainConsumer except ImportError: def ChainConsumer(): - raise ImportError( - "You do not have the optional module chainconsumer installed") + logging.warning( + "You do not have the optional module chainconsumer installed" + " unable to generate a corner plot") def result_file_name(outdir, label):