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

WSG-92 refactor logical models to use templates #24

Closed
wants to merge 3 commits into from

Conversation

xkmato
Copy link
Contributor

@xkmato xkmato commented Jul 23, 2024

  • Refactors logical_models_generator module to use jinja2 templates.
  • Breaks LogicalModelAndTerminologyGenerator into multiple more functions to make it easy for unit testing.
  • Makes logical_model_gen.py executable

Testing

# From the repo root
who_l3_smart_tools/cli/logical_model_gen.py -i tests/data/l2/test_dd.xlsx


if __name__ == "__main__":
unittest.main()
# TODO (Kenneth): Add tests for the logical model generator.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These tests are coming in a different PR

@xkmato xkmato requested a review from pmanko July 23, 2024 10:35
@ibacher
Copy link
Collaborator

ibacher commented Aug 5, 2024

@xkmato Would you be able to resolve the conflicts here?

@xkmato
Copy link
Contributor Author

xkmato commented Aug 8, 2024

I am also going to close this because of #27

@xkmato xkmato closed this Aug 8, 2024
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