Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

problem with file path #25

Open
jessdtate opened this issue Nov 15, 2016 · 4 comments
Open

problem with file path #25

jessdtate opened this issue Nov 15, 2016 · 4 comments

Comments

@jessdtate
Copy link
Contributor

there seems to be a problem with some paths. I wasn't able to load files from this path: /Users/jess/Edgar/database/Unmodified/Human_Cardiac_Mapping/KIT-20-PVC_Simulation_1906-10-30_EP_EndoEpi/Meshes/surf_endoepi.mat or a similar path. When I moved the file to somewhere else, It read no problem. The error I get is:

Reading geom file urf_endoepi.mat.mat, surface# 1
Could not open matlab file
MAP3D WARNING: Unable to read geometry file "urf_endoepi.mat.mat".

I attached the file I was trying to load.

surf_endoepi.mat.zip

@jessdtate
Copy link
Contributor Author

when I changed the path to /Users/jess/Edgar/database/Unmodified/Human_Cardiac_Mapping/KIT-1/Meshes/surf_endoepi.mat it worked

@bryanworthen
Copy link
Contributor

That is completely weird. Also note that it omitted the first character of the filename. I seem to remember some code that once was there about how it would try to append .mat, .pot to filenames it can't find... Searching...

@jessdtate
Copy link
Contributor Author

This seems to be related to the length of the path. Is there a set length of this? @bzenger will test the lengths and report.

@jessdtate
Copy link
Contributor Author

preliminary test.

This works :
/Users/jess/Downloads/test_filename/this_is_a_long_file_name_to_test_another_long_filename/abc/morphed_sock.mat

but not this:
/Users/jess/Downloads/test_filename/this_is_a_long_file_name_to_test_another_long_filename/abcd/morphed_sock.mat

The first is 111 characters, and the second is 112

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants