Skip to content

Commit

Permalink
Merge pull request #5 from gholdman1/fix-linux-path
Browse files Browse the repository at this point in the history
Fix Linux lumapi.py path
  • Loading branch information
chriskeraly committed May 12, 2019
2 parents b0200c8 + c7f4a19 commit 6d6096f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lumopt/__init__.py
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 6d6096f

Please sign in to comment.