Maintenance will be performed on,,, and starting at 10am CDT on 2 June 2020 and lasting for around 20 minutes. There will be a short period of downtime, around 5 minutes, towards the end of the maintenance window. Please direct any comments, questions, or concerns to

Commit f3d16d7b authored by Gregory Ashton's avatar Gregory Ashton

Remove chainconsumer as a dependency

This demotes CC from a requirement to something optional. If
`ChainConsumer` is called when it is not installed, a warning message is
parent e8269967
Pipeline #19188 passed with stages
in 5 minutes and 23 seconds
......@@ -2,9 +2,15 @@ import logging
import os
import numpy as np
import deepdish
from chainconsumer import ChainConsumer
import pandas as pd
from chainconsumer import ChainConsumer
except ImportError:
def ChainConsumer():
raise ImportError(
"You do not have the optional module chainconsumer installed")
class Result(dict):
......@@ -5,7 +5,6 @@ import logging
import os
import sys
import numpy as np
from chainconsumer import ChainConsumer
import matplotlib.pyplot as plt
from .result import Result
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment