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

Support multiple templates #54

Open
4 tasks
stefanbschneider opened this issue Oct 1, 2020 · 0 comments
Open
4 tasks

Support multiple templates #54

stefanbschneider opened this issue Oct 1, 2020 · 0 comments

Comments

@stefanbschneider
Copy link
Member

While supported in v1.0, passing and placing templates of multiple services is currently not supported in the latest, refactored version of B-JointSP.
The placement algorithm still supports multiple templates, so it's mostly about passing and reading multiple templates.

For that, the following needs to be done:

  • Adjust the --template, -t CLI arg so that it can be listed multiple times to pass multiple templates, eg,: bjointsp -t template1 -t template2 .... For that, use action=append.
  • Adjust place() to take and handle a list of templates rather than a single one
  • Particularly, call read_template for each template. Afterwards, adapt the templates on the fly to allow sharing common components by calling adapt_for_reuse
  • Test if passing, reading, and handling multiple templates works. Both with separate and shared components. Add an example command with multiple templates to Travis to ensure it runs without errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant