-
Notifications
You must be signed in to change notification settings - Fork 1
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
New functions #1
base: new_functions
Are you sure you want to change the base?
Conversation
Thank you! I have been working on other projects lately and so will need to take a bit of time to refresh my mind. I do not see the test results, but if they pass, I think this would be a good addition. So the workflow would be to merge to this branch, then merge this branch to the main PySD repository? |
You can execute the test by yourself executing "nosetests --with-coverage --cover-package=pysd --cover-erase" inside the tests directory. If that results are good enought to PySD owners we should include the Vensim example that now is on the directory "my_tests" into the SDXorg repository in order to remove "my_tests" directory (it's a quick hack to show you how we can improve test coverage). And then i think we can merge this branch with the main PySD repository. |
Hi, The data read from the excel is stored in cache as 'step' data, I think it would make more sense to store it as 'run' as the excel input data is not supposed to change. I have been trying to correct that but I am a little bit messed up about how the parser works, so maybe for you is easier. Moreover, when working with both float values and values coming from dataarrays some functions may fail. I have fixed that, I will add an example with a test. |
Hi all! I wanted to ask you how do you want to proceed to do a new pull request to the main PySD repository. Do you want me to do a pull request to your repositories or do you prefer me todo a pull request directly to the main repository? In the second case I would cite this pull request and mention your work. |
Thank you @enekomartinmartinez ! Sure, if you want to make a pull request here we can merge here and then in the main repository (whichever is easiest for you). |
So I suppose I will make a direct pull request to the main repository, right now I'm waiting to accept two pull requests in the models' repository. As soon as they accept them I will make the pysd pull request, as I need to update the models' repo with the new commit. |
This changes add support for more complex subscripts and excel operations. I have created the folder my_tests on tests folder with one test, this should be included on the repository SDXorg, but i've added there to show how it increases the coverage up to 87%. So, it is closer to the 91% of PySD master, maybe this branch can be merged with it.