Skip to content

Commit fee1336

Browse files
committed
hello
1 parent aead6e0 commit fee1336

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

RATapi/examples/normal_reflectivity/DSPC_custom_layers.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,8 @@ def DSPC_custom_layers():
129129
if __name__ == "__main__":
130130
import RATapi
131131

132-
RATapi.wrappers.get_matlab_engine().editFile(
133-
r"C:\Users\steve\Documents\Development\python-RAT\RATapi\examples\normal_reflectivity\customBilayerDSPC.m"
134-
)
132+
RATapi.wrappers.get_matlab_engine().editFile((pathlib.Path(__file__).parent / "customBilayerDSPC.m").as_posix())
133+
135134
import time
136135

137136
time.sleep(20)

0 commit comments

Comments
 (0)