matlab2python
matlab2python copied to clipboard
Add files via upload
Here are the changes I have made. Let me know if anything needs work or if you want anything organized differently.
Things I added:
- imports methods from local files by creating a list of all of the functions and their corresponding files
Things to ignore:
- ignore the functions "remove_return" and "replace_keywords_in_line" these are temp fixes and are not important
Notes:
- I have also been very busy lately so the code isn't great but I will polish it and make it better
- I am also in the process of creating a function that will add some functionality to the array methods that are added
Thanks!
Marek
I am not expecting you to merge this, I'm just looking for feedback.
Hi Marek, I had a quick glanced (sorry for the delay), and look good. I have the following suggestions:
- place your file
marek_funcinto the folder matlab_parser and give it a name reflecting the content of this file (maybeimport_handler.py). - add some tests in the directory
test. You'll find examples in this directory. The filetests\test_files.pyconverts some of the files located intests\files\. Other files in thetestsfolder are more "unit tests", testing smaller functions. You can add some unit tests for yourimport_handlerfor instance.
If you can take care of that, I'll be happy to merge your pull request.
Sorry again for the long delay.
Hi @brodkemd Do you think you'll have time to address some of the recommendations I suggested? Thanks lot!