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

Insert parsing logic improved #91

Merged

Conversation

mopichalova
Copy link
Collaborator

@mopichalova mopichalova commented Jan 24, 2024

Insert methods (insert_atomic_to_struct, insert_struct_to_complex, insert_atomic_to_complex) fixed in accordance with BCSL.
The changes include ensuring proper matching and handling cases where the replaced agent is unspecified.
Additionally, a new utility function, is_empty, has been added to check if an agent is empty.

Close #72

@mopichalova
Copy link
Collaborator Author

I am unsure about raising ComplexParsingError, especially the error that is used for the error message. Can you please check that?

@xtrojak xtrojak self-requested a review January 24, 2024 20:34
Copy link
Collaborator

@xtrojak xtrojak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's fine, the tests are passing and seems to be working. Just please improve the docstrings, and we are good to go.

eBCSgen/Parsing/ParseBCSL.py Outdated Show resolved Hide resolved
eBCSgen/Parsing/ParseBCSL.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@xtrojak xtrojak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I am merging this.

@xtrojak xtrojak merged commit 734fdfb into sybila:improve-parsing Jan 30, 2024
1 of 2 checks passed
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.

2 participants