dieterich-lab / rp-bp

Rp-Bp is a Bayesian approach to predict, at base-pair resolution, ribosome occupancy and translation.
MIT License
7 stars 5 forks source link

Auto-fire a browser when a display is connected #145

Closed dokempf closed 1 year ago

dokempf commented 1 year ago

This fixes #136.

To be more robust w.r.t. constructing the correct URL, I added a port parameter - I hope you agree. Unfortunately it is not possible to extract the URL from the Flask App, as it requires a request context to successfully do this and attempts of mocking it with tools from Flask testing support showed that the mocked thing will actually run on a different port...

codecov[bot] commented 1 year ago

Codecov Report

Merging #145 (4a64143) into dev-ssciwr (36554c4) will decrease coverage by 0.11%. The diff coverage is 0.00%.

:exclamation: Current head 4a64143 differs from pull request most recent head 6454425. Consider uploading reports for the commit 6454425 to get more accurate results

@@              Coverage Diff               @@
##           dev-ssciwr     #145      +/-   ##
==============================================
- Coverage       48.80%   48.69%   -0.11%     
==============================================
  Files              34       34              
  Lines            4012     4023      +11     
==============================================
+ Hits             1958     1959       +1     
- Misses           2054     2064      +10     
Impacted Files Coverage Δ
...n/dashboard/rpbp_profile_construction_dashboard.py 0.00% <0.00%> (ø)
...redictions/dashboard/rpbp_predictions_dashboard.py 0.00% <0.00%> (ø)
src/rpbp/defaults.py 100.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.