Skip to content

Commit

Permalink
Windows-specific patches...
Browse files Browse the repository at this point in the history
  • Loading branch information
willend committed May 20, 2024
1 parent ce0cb34 commit 503ce43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/Python/mcgui/mcgui.py
Original file line number Diff line number Diff line change
Expand Up @@ -808,7 +808,7 @@ def handleJuPyInstrument(self):
wrapper += f'cd ' + os.path.dirname(instr) + '\n\n'
if os.environ.get('CONDA_PREFIX'):
wrapper += f'REM Activate our "current" conda env.\n'
wrapper += f' '+ os.environ.get('CONDA_PREFIX') + '\Scripts\activate \n\n'
wrapper += f'call '+ os.environ.get('CONDA_PREFIX') + '\\Scripts\\activate \n\n'
wrapper += f'"REM call jupylab wrapper script from new directory, with input of base instr file.\n'
wrapper += f'' + scriptfile + ' ' + os.path.basename(instr) + '\n\n'
wrapper += f'@REM Remove script post jupyter exit \n\n@del %~dpnx0\n@exit\n'
Expand Down

0 comments on commit 503ce43

Please sign in to comment.