Skip to content

Commit

Permalink
XXX: Remove option switch
Browse files Browse the repository at this point in the history
  • Loading branch information
greglucas committed Nov 15, 2024
1 parent 4a3be13 commit 289616e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pymsis/msis.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,10 +182,11 @@ def run(

# with _EXTENSION_LOCK[version]:
# Only reinitialize the model if the options have changed
if _LAST_USED_OPTIONS[version] != options:
msis_lib.pyinitswitch(options, parmpath=_MSIS_PARAM_PATH)
_LAST_USED_OPTIONS[version] = options
# if _LAST_USED_OPTIONS[version] != options:
# msis_lib.pyinitswitch(options, parmpath=_MSIS_PARAM_PATH)
# _LAST_USED_OPTIONS[version] = options

msis_lib.pyinitswitch(options, parmpath=_MSIS_PARAM_PATH)
output = msis_lib.pymsiscalc(
input_data[:, 0],
input_data[:, 1],
Expand Down

0 comments on commit 289616e

Please sign in to comment.