Skip to content

Commit

Permalink
Bug fix: wheel exe wrapper was not checking 'neuron' but only `neuron…
Browse files Browse the repository at this point in the history
…-nightly*` package (#1706)

As part of #1452, we changed exe wrapper for GPU but introduced a
bug where `neuron` package name was not checked.
  • Loading branch information
pramodk authored Mar 16, 2022
1 parent 7acf808 commit 1de25f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions share/lib/python/scripts/_binwrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ def _config_exe(exe_name):
elif "neuron-nightly" in working_set.by_key:
print("INFO : Using neuron-nightly Package (Developer Version)")
package_name = "neuron-nightly"
elif "neuron" in working_set.by_key:
package_name = "neuron"
else:
raise RuntimeError("NEURON package not found! Verify PYTHONPATH")

Expand Down

0 comments on commit 1de25f3

Please sign in to comment.