diff --git a/rice.py b/rice.py index ce9fd3d..c09a804 100644 --- a/rice.py +++ b/rice.py @@ -16,6 +16,9 @@ import numpy as np from gym.spaces import MultiDiscrete +_PUBLIC_REPO_DIR = os.path.dirname(os.path.abspath(__file__)) +sys.path = [_PUBLIC_REPO_DIR] + sys.path + from negotiator import ( BaseProtocol, NoProtocol, @@ -39,10 +42,6 @@ "BasicClubClusterProposals": BasicClubClusterProposals, } - -_PUBLIC_REPO_DIR = os.path.dirname(os.path.abspath(__file__)) -sys.path = [_PUBLIC_REPO_DIR] + sys.path - from rice_helpers import ( get_abatement_cost, get_armington_agg,