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

Limit source catalog to 1000 brightest sources, avoid magic numbers #50

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

LTDakin
Copy link
Contributor

@LTDakin LTDakin commented Jan 23, 2025

Some fits files had up to 30,000 sources which would cause the response to lag heavily and also when it did load the screen would be full or sources and slider almost unusable. This is limiting the source slider to 1000 for now and also adding it as a variable that can be passed as an argument or adjusted in the future.

@LTDakin LTDakin requested a review from jnation3406 January 23, 2025 00:24
Copy link
Contributor

@jnation3406 jnation3406 left a comment

Choose a reason for hiding this comment

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

This seems sensible to me, I wouldn't worry about it unless someone gives us a clear reason for needing more than the brightest 1000

@LTDakin LTDakin merged commit 1db9f02 into main Jan 23, 2025
3 checks passed
@LTDakin LTDakin deleted the update/limit-source-catalog-1000 branch January 23, 2025 16:22
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.

2 participants