Skip to content
Snippets Groups Projects
Commit 7821b198 authored by Jeshon Assunçao's avatar Jeshon Assunçao
Browse files

Make the code runnig for other os than windows

parent 29b1a9dc
Branches
No related tags found
1 merge request!1Resolve "Multios usage"
......@@ -141,7 +141,7 @@ def main():
# TODO warning for for the [:1]
for filepath in filepaths[:1]:
filename = filepath.split("\\")[-1].split(".")[0]
filename = os.path.split(filepath)[-1].split(".")[0]
raw_mat = scipy.io.loadmat(filepath)
mat = raw_mat[filename][0][0][0][0]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment