Skip to content

Commit da72fd5

Browse files
committed
feat(pynml): remove use of jnml.bat
1 parent 3a78bb0 commit da72fd5

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

omv/engines/jneuroml.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
import subprocess as sp
44
from pathlib import Path
55

6-
from omv.common.inout import inform, trim_path, is_verbose, check_output
7-
from omv.engines.engine import OMVEngine, EngineExecutionError
6+
from omv.common.inout import check_output, inform, is_verbose, trim_path
7+
from omv.engines.engine import EngineExecutionError, OMVEngine
88

99

1010
class JNeuroMLEngine(OMVEngine):
@@ -27,9 +27,7 @@ def get_environment():
2727
@staticmethod
2828
def get_executable():
2929
environment_vars = JNeuroMLEngine.get_environment()
30-
jnml = os.path.join(
31-
environment_vars["JNML_HOME"], JNeuroMLEngine.e_name if os.name != "nt" else "jnml.bat"
32-
)
30+
jnml = os.path.join(environment_vars["JNML_HOME"], JNeuroMLEngine.e_name)
3331
return jnml
3432

3533
@staticmethod

0 commit comments

Comments
 (0)