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

Integration of report generation in python workflows #303

Open
3 of 4 tasks
matthiaskoenig opened this issue Aug 30, 2021 · 3 comments
Open
3 of 4 tasks

Integration of report generation in python workflows #303

matthiaskoenig opened this issue Aug 30, 2021 · 3 comments
Labels
feature sbml4humans related to webapp and report

Comments

@matthiaskoenig
Copy link
Owner

matthiaskoenig commented Aug 30, 2021

There should be a simple python helper for creating reports for local files (the static report #264 will be a longterm fix). This requires

  • spinning up a local webserver hosting the respective SBML/OMEX file(s)
  • query the report via the url endpoint using the local url
  • providing link in browser and directly opening in browser
  • clean handling of threads
@matthiaskoenig matthiaskoenig added the sbml4humans related to webapp and report label Aug 30, 2021
@matthiaskoenig matthiaskoenig added this to the SBML4Humans milestone Aug 30, 2021
matthiaskoenig added a commit that referenced this issue Aug 30, 2021
@matthiaskoenig
Copy link
Owner Author

@sankha555 First version implemented. Still requires some clean handling of the threads, i.e. the file server thread must be terminated when the main thread terminates.

For an example (see main in the sbmlreport):

from sbmlutils.report.sbmlreport import create_report
from sbmlutils.test import REPRESSILATOR_SBML
create_report(
    sbml_path=REPRESSILATOR_SBML
)

@sankha555
Copy link
Collaborator

I'll take a look at implementing this task Sir.

@matthiaskoenig
Copy link
Owner Author

@sankha555 Nothing to do here for you. Just have a look at the issues are assigned to. I assigning myself to things I will take care of.

@matthiaskoenig matthiaskoenig removed their assignment Sep 11, 2021
@matthiaskoenig matthiaskoenig added feature and removed bug labels Oct 5, 2021
@matthiaskoenig matthiaskoenig changed the title Intregration of report generation in python workflows Integration of report generation in python workflows Oct 5, 2021
@matthiaskoenig matthiaskoenig removed this from the SBML4Humans milestone Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature sbml4humans related to webapp and report
Projects
None yet
Development

No branches or pull requests

2 participants