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

Feet dsl update #88

Closed

Conversation

neonWhiteout
Copy link
Collaborator

@feet without arguments returns an empty Vector{StockAndFlow0}. Fixed feet and foot so they return errors, as opposed to causing an error in the preprocessing stage of replacing with macro.

neonWhiteout and others added 25 commits August 31, 2023 02:44
…ssv, etc to StockFlow.jl, several methods to Syntax.jl (incl infer_links, which is now exported), and a Stratification.jl file. Also created a Stratification tests file and added more tests to Syntax.
…ch are unmapped. Was previously two separate loops.
…ssary variables. Additional type annotations.
… and replaced a few sfstratify calls in the test file with the macro call.
…ant information. Contains dictionaries and vectors which are updated as it goes along.

Created macro n_stratify, which generalizes stratify and can take an arbitrary number of stockflows as arguments.  Still needs tests.

Updated tests to reflect changes in stratification functions.
… System Structure so instead of folding right, it checks all vops are equal (line 195)
removed testing code
…ally make sense to take the pullback of 0 items so removed that as an option. Now allow single symbols to be interpreted as a tuple with one element, so n_stratify is far less cumbersome to write for.
@neonWhiteout
Copy link
Collaborator Author

Note, I merged nstratify here, then updated.

@neonWhiteout
Copy link
Collaborator Author

...wrong branch.

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

Successfully merging this pull request may close these issues.

1 participant