Skip to content

Commit

Permalink
Fix lumopt/__init__.py to use the correct path to lumapi.py when on a…
Browse files Browse the repository at this point in the history
… Linux machine
  • Loading branch information
gholdman1 committed Apr 18, 2019
1 parent 93094d4 commit c7f4a19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lumopt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
elif current_platform == 'Darwin':
default_api_path = '/Applications/Lumerical/FDTD/FDTD.app/Contents/MacOS/'
elif current_platform == 'Linux':
default_api_path = '/opt/lumerical/FDTD/bin'
default_api_path = '/opt/lumerical/fdtd/api/python'
default_api_path = os.path.normpath(default_api_path)
if os.path.isfile(os.path.join(default_api_path, 'lumapi.py')):
sys.path.append(default_api_path)
Expand Down

0 comments on commit c7f4a19

Please sign in to comment.