Skip to content

Commit

Permalink
Remove redundant CLI option and environment variable.
Browse files Browse the repository at this point in the history
  • Loading branch information
lohedges committed Jun 26, 2024
1 parent 3ada2bc commit aeeef24
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions bin/emle-server
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ try:
except:
port = None
model = os.getenv("EMLE_MODEL")
features = os.getenv("EMLE_FEATURES")
method = os.getenv("EMLE_METHOD")
mm_charges = os.getenv("EMLE_MM_CHARGES")
try:
Expand Down Expand Up @@ -125,7 +124,6 @@ env = {
"host": host,
"port": port,
"model": model,
"features": features,
"method": method,
"mm_charges": mm_charges,
"num_clients": num_clients,
Expand Down Expand Up @@ -179,13 +177,6 @@ parser.add_argument("--port", type=str, help="the port number", required=False)
parser.add_argument(
"--model", type=str, help="path to an EMLE model file", required=False
)
parser.add_argument(
"--features",
type=str,
help="the type of feature used by the model ('soap' or 'aev')",
choices=["soap", "aev"],
required=False,
)
parser.add_argument(
"--method",
type=str,
Expand Down

0 comments on commit aeeef24

Please sign in to comment.