Skip to content

Commit

Permalink
preparing for 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ialbert committed May 21, 2024
1 parent 90efd42 commit 4ca77d8
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ usage:

# Performs the testing.
web:
shiny run --reload genescape.shiny.tree.app:app --factory
shiny run --reload genescape.shiny.tree.app:app

# Tag and push to repository.
tag: test
Expand Down
2 changes: 1 addition & 1 deletion src/genescape/__about__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.9.5"
__version__ = "0.9.8"
7 changes: 4 additions & 3 deletions src/genescape/shiny/tree/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,16 +418,17 @@ async def download_dot():
app_shiny = App(app_ui, server)


def app():
def web_app():
routes = [
Mount('/static', app=app_static),
Mount('/', app=app_shiny)
]

webapp = Starlette(routes=routes)
web = Starlette(routes=routes)

return webapp
return web

app = web_app()

if __name__ == '__main__':
import shiny
Expand Down
12 changes: 0 additions & 12 deletions src/genescape/shiny/tree/rsconnect-python/shiny.json

This file was deleted.

2 changes: 1 addition & 1 deletion test/test_genescape.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def test_genescape(inp_name, out_name, cmd):
raise AssertionError(f"content mismatch: {out_name}")


@pytest.mark.parametrize("cmd", ["build -s", "annotate -t -o test/out/genescape.csv", "tree -t -o test/out/genescape.pdf"])
@pytest.mark.parametrize("cmd", ["build -s --idx src/genescape/data/human.index.gz", "annotate -t -o test/out/genescape.csv", "tree -t -o test/out/genescape.pdf"])
def test_run(cmd):

full = f"{cmd}"
Expand Down

0 comments on commit 4ca77d8

Please sign in to comment.