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

code restructure to enable package install #108

Merged
merged 1 commit into from
Jan 16, 2024

Conversation

savitakartik
Copy link
Collaborator

fixes #91

Copy link
Member

@jeromekelleher jeromekelleher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! A couple of minor suggestions

setup.cfg Outdated
datashader
tskit
seaborn
pre-commit
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Install doesn't need pre-commit

tsqc/__main__.py Outdated
@@ -50,7 +49,7 @@ def show(page):
yield pn.indicators.LoadingSpinner(value=True, width=50, height=50)
try:
before = time.time()
content = page_map[page](tsm)
content = page_map[page].page(tsm)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe change to page_map[page_name]? Too many "page"s!

fixes tskit-dev#91

removed keyword to IntSlider that was causing test_pages to fail with Panel v1.18.1

renamed variables in __main__.py, addressed logging FIXME in __main__.py, updated instructions to run in README
@jeromekelleher jeromekelleher merged commit 45f52b2 into tskit-dev:main Jan 16, 2024
3 checks passed
@savitakartik savitakartik deleted the restructure_as_package branch January 16, 2024 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Restructure as distributable Python package
2 participants