diff --git a/abacusnbody/hod/__init__.py b/abacusnbody/hod/__init__.py index 0966ace2..e38d157b 100644 --- a/abacusnbody/hod/__init__.py +++ b/abacusnbody/hod/__init__.py @@ -1 +1 @@ -from .utils import setup_logging \ No newline at end of file +from .utils import setup_logging diff --git a/abacusnbody/hod/abacus_hod.py b/abacusnbody/hod/abacus_hod.py index 8acbc0a6..0b1515c1 100644 --- a/abacusnbody/hod/abacus_hod.py +++ b/abacusnbody/hod/abacus_hod.py @@ -11,7 +11,6 @@ import gc import time from pathlib import Path -import warnings import logging import asdf diff --git a/abacusnbody/hod/utils.py b/abacusnbody/hod/utils.py index d5f86aae..39bbbe1d 100644 --- a/abacusnbody/hod/utils.py +++ b/abacusnbody/hod/utils.py @@ -1,5 +1,4 @@ # taken from https://github.com/cosmodesi/desilike/blob/main/desilike/utils.py -import numpy as np import logging import sys import os @@ -71,4 +70,4 @@ def mkdir(dirname): try: os.makedirs(dirname) # MPI... except OSError: - return \ No newline at end of file + return