bastibe / transplant

Transplant is an easy way of calling Matlab from Python
https://transplant.readthedocs.io
Other
110 stars 26 forks source link

ignore folders when checking for existance #83

Closed dlaidig closed 4 years ago

dlaidig commented 4 years ago

throw TRANSPLANT:novariable if a variable is not defined but there is a folder with the same name. this makes the handling of Matlab packages in Matlab.getattr work regardless of the current directory.

closes #81

I did not find any documentation on unit tests, but I ran pytest and got the same result (13 passed, 1 SparseEfficiencyWarning) before and after my change.