-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
[REVIEW]: PySD: System Dynamics Modeling in Python #4329
Comments
Hello humans, I'm @editorialbot, a robot that can help you with some common editorial tasks. For a list of things I can do to help you, just type:
For example, to regenerate the paper pdf after making changes in the paper's md or bib files, type:
|
|
Wordcount for |
|
Review checklist for @blsqrConflict of interest
Code of Conduct
General checks
Functionality
Documentation
Software paper
|
I have opened a first issue regarding the software paper over in the PySD project. FYI: The next two weeks I will not be available for review or questions, but will pick up the review some time in the middle of May. |
Thank you for for the review. I answered on the issue you created in the PySD repo. In brief, we have made a couple of commits with which we expect to have answered all your comments. Thanks again! |
@editorialbot generate pdf |
@editorialbot generate pdf |
Hi @blsqr thanks for the review! Please make sure (both author and reviewer) to let me know in this issue page about further progress (as I am not subscribed to the issue discussion). |
Hi @rogersamso, I finally managed to use pysd and run some simple models. However, I am having some trouble converting a more complex model. I am not sure if I am trying to upload a model with features not supported in pysd or doing something wrong. I get the following message: File "C:\Users\UTENTE\anaconda3\lib\site-packages\pysd\translation\vensim\vensim2py.py", line 470, in get_equation_components File "C:\Users\UTENTE\anaconda3\lib\site-packages\parsimonious\grammar.py", line 115, in parse File "C:\Users\UTENTE\anaconda3\lib\site-packages\parsimonious\expressions.py", line 122, in parse IncompleteParseError: Rule 'entry' matched in its entirety, but it didn't consume all the text. The non-matching portion of the text begins with ' [mining],[petroleum' (line 1, column 36). During handling of the above exception, another exception occurred: Traceback (most recent call last): File "", line 1, in File "C:\Users\UTENTE\anaconda3\lib\site-packages\pysd\pysd.py", line 129, in read_vensim File "C:\Users\UTENTE\anaconda3\lib\site-packages\pysd\translation\vensim\vensim2py.py", line 1957, in translate_vensim File "C:\Users\UTENTE\anaconda3\lib\site-packages\pysd\translation\vensim\vensim2py.py", line 1627, in translate_section File "C:\Users\UTENTE\anaconda3\lib\site-packages\pysd\translation\vensim\vensim2py.py", line 475, in get_equation_components ValueError: Subs_RES_fossil_SRF_i[ind] :EXCEPT: [mining],[petroleum],[electricity],[transport]= 0 Error when parsing definition: probably used definition is invalid or not integrated... thanks a lot, andré |
Hi Andre,
The error is because of a missing feature. As the parser stops with a list
of subscript ranges I suposse that this will be part of an :EXCEPT:
declaration. If this is the case, this bug is already fixed in a branch and
will be solved in a future release. Please, could you share the full
equation where the string '[mining],[petroleum' appears?
Thank you,
Eneko
Andre Cieplinski ***@***.***> igorleak hau idatzi zuen (2022
api. 27, az. 23:28):
… Hi @rogersamso <https://github.com/rogersamso>, I finally managed to use
pysd and run some simple models. However, I am having some trouble
converting a more complex model. I am not sure if I am trying to upload a
model with features not supported in pysd or doing something wrong.
Also I a not sure if this is where I should ask this, sorry, still trying
to figure out Github.
I get the following message:
"model = pysd.read_vensim('model.mdl')
Traceback (most recent call last):
File
"C:\Users\UTENTE\anaconda3\lib\site-packages\pysd\translation\vensim\vensim2py.py",
line 470, in get_equation_components
tree = parser.parse(equation_str)
File
"C:\Users\UTENTE\anaconda3\lib\site-packages\parsimonious\grammar.py", line
115, in parse
return self.default_rule.parse(text, pos=pos)
File
"C:\Users\UTENTE\anaconda3\lib\site-packages\parsimonious\expressions.py",
line 122, in parse
raise IncompleteParseError(text, node.end, self)
IncompleteParseError: Rule 'entry' matched in its entirety, but it didn't
consume all the text. The non-matching portion of the text begins with '
[mining],[petroleum' (line 1, column 36)."
thanks a lot,
andré
—
Reply to this email directly, view it on GitHub
<#4329 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AOTSLBZKGTTA33U7A2VQGSLVHG5QFANCNFSM5T4ZZWHQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Dear @andrecieplinski thanks for contacting. As @enekomartinmartinez mentions, this new feature will be added in the upcoming release 3.0 of pysd. Please let's not continue this discussion here. Either open a new issue in the pysd repo, or drop as an email. Thanks again. |
Dear @pdebuyl and @andrecieplinski , I just realized @andrecieplinski was assigned as reviewer for the paper. I see a potential conflict of interest, as @andrecieplinski is collaborating in the same research project than us (h2020 LOCOMOTION). please let us know if this may cause problems. |
Hi @rogersamso thanks for mentioning this. I'll check with other editors whether this is a problem or not. |
Hi all, we may proceed the review with @andrecieplinski , the association only by being member of a funding consortium -- provided there was no direct collaboration -- is not a sufficient conflict of interest for JOSS. |
I opened another issue in the PySD project regarding the remaining review points for the documentation. |
Regarding the list of authors: Could you briefly explain the role of Jordi Solé in the creation of PySD and this paper? |
Apart from being the one who bet on the use of PySD in the H2020 projects MEDEAS and LOCMOTION, which led to the major changes that took place from 0.9 to the newest 3.0, Jordi Solé has been part of all design decisions that have been taken during the whole process. He has also reviewed the paper several times, and is now following the revision process. |
@pdebuyl thanks for handling this submission. In the future please ensure you ask authors to amend the archive meta-data to match that of the paper (e..g title and authors). |
In relation to the archive:
On the paper
|
Hi @Kevin-Mattheus-Moerman sorry about this, I normally check the zenodo record but forgot this time. |
@pdebuyl no worries 👍 |
@rogersamso 👋 ☝️ |
Hi @Kevin-Mattheus-Moerman, sorry for the lack of response. We'll look into it asap. |
@editorialbot generate pdf |
@JamesPHoughton can you take care of this please? |
I've taken a crack at it, let me know if it isn't correct. =) |
@editorialbot accept |
|
🐦🐦🐦 👉 Tweet for this paper 👈 🐦🐦🐦 |
🚨🚨🚨 THIS IS NOT A DRILL, YOU HAVE JUST ACCEPTED A PAPER INTO JOSS! 🚨🚨🚨 Here's what you must now do:
Any issues? Notify your editorial technical team... |
Congratulations @rogersamso @enekomartinmartinez and @JamesPHoughton on your article's publication in JOSS! Many thanks to @blsqr and @sixpearls for reviewing this, and @pdebuyl for editing. |
🎉🎉🎉 Congratulations on your paper acceptance! 🎉🎉🎉 If you would like to include a link to your paper from your README use the following code snippets:
This is how it will look in your documentation: We need your help! The Journal of Open Source Software is a community-run journal and relies upon volunteer effort. If you'd like to support us please consider doing either one (or both) of the the following:
|
Thanks @kyleniemeyer :-) |
Thanks @kyleniemeyer @pdebuyl @blsqr and @sixpearls ! Publishing in JOSS was such an awesome experience! Thank you all for helping us improve PySD! |
Thanks to all of you for all the work!!! 🎉 |
Thanks everyone, especially to @enekomartinmartinez. =) |
Submitting author: @rogersamso (Roger Samsó)
Repository: https://github.com/SDXorg/pysd
Branch with paper.md (empty if default branch): paper_pysd
Version: v3.7.1
Editor: @pdebuyl
Reviewers: @blsqr, @sixpearls
Archive: 10.5281/zenodo.7094483
Status
Status badge code:
Reviewers and authors:
Please avoid lengthy details of difficulties in the review thread. Instead, please create a new issue in the target repository and link to those issues (especially acceptance-blockers) by leaving comments in the review thread below. (For completists: if the target issue tracker is also on GitHub, linking the review thread in the issue or vice versa will create corresponding breadcrumb trails in the link target.)
Reviewer instructions & questions
@blsqr & @andrecieplinski, your review will be checklist based. Each of you will have a separate checklist that you should update when carrying out your review.
First of all you need to run this command in a separate comment to create the checklist:
The reviewer guidelines are available here: https://joss.readthedocs.io/en/latest/reviewer_guidelines.html. Any questions/concerns please let @pdebuyl know.
✨ Please start on your review when you are able, and be sure to complete your review in the next six weeks, at the very latest ✨
Checklists
📝 Checklist for @blsqr
📝 Checklist for @sixpearls
The text was updated successfully, but these errors were encountered: