tested code. replaced dataclass with hashable objects. updated depend… #50
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I tried to refactor most code to use Action Objects to create Sequence Objects. From the list of sequence objects, those not performing sufficiently can be filtered out and for the remaining, we can create ActionInstance objects along with the input files for the Pathways Generator.
Added some low-level objects of Sequence, and ActionInstance. Sequence contains information on the Actions it includes along with information whether or not they are considered for next steps (or filtered out). ActionInstance contains information on the Action, the unique instance and linked tippingpoint, as well as information regarding the performance of a pathway up to that specific point. This could potentially be used to extend on Kor's original Action object.
I added all relevant files for the generator in the adaptation_pathways directory (not as AJ suggested under app/model/...), because this seems more plausible for users that just might want to use the python package without the front-end.
Questions with front-end connection:
Remaining steps: