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

Instance based on SrasearchRecipe can't be drawn ! #50

Open
plushao666 opened this issue Nov 5, 2024 · 0 comments
Open

Instance based on SrasearchRecipe can't be drawn ! #50

plushao666 opened this issue Nov 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@plushao666
Copy link

WfCommons Information

  • WfCommons version: [1.1]
  • Python Version: [3.10]

Describe the bug
Code like below.

import pathlib
from wfcommons import Instance, SrasearchRecipe, WorkflowGenerator

generator = WorkflowGenerator(SrasearchRecipe.from_num_tasks(25))
workflow = generator.build_workflow()
workflow.write_json(pathlib.Path('srasearch-workflow.json'))

input_instance = pathlib.Path('srasearch-workflow.json')
instance = Instance(input_instance=input_instance)
instance.draw()

Can relevant professionals tell me about the issue with SrasearchRecipe? (All other recipes can be drawn.)

Screenshots
image

Desktop (please complete the following information):

  • OS: [Ubuntu]
  • Version [22.04]
@plushao666 plushao666 added the bug Something isn't working label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant