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

Upgrade targetlist table #181

Open
rachel3834 opened this issue Aug 10, 2024 · 1 comment
Open

Upgrade targetlist table #181

rachel3834 opened this issue Aug 10, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@rachel3834
Copy link
Contributor

MOP's targetpage would be more useful if it presented a search-results table with a different set of parameters.

For microlensing specific targets, the parameter set presented in the priority targets table would be best:

Target | t0 [days]-2460000.0 | u0 | tE [JD] | Current mag | Baseline mag | TAP Priority

It would also be great to implement this as a plotly-dash table and allow the columns to be sortable.

@rachel3834 rachel3834 added the enhancement New feature or request label Aug 10, 2024
@rachel3834 rachel3834 self-assigned this Aug 10, 2024
@rachel3834
Copy link
Contributor Author

I created a preliminary implementation of this app on branch feature/plot_table_app, and I think I got most of the way through implementing an interactive table.
However, I got stuck on configuring the app so that it can find Django's static files correctly. When loading the table app, it produces the error:

[16/Aug/2024 23:23:12] "GET /django_plotly_dash/app/TargetlistTable/_dash-dependencies HTTP/1.1" 200 3
[16/Aug/2024 23:29:01] "GET /targets/?page=2 HTTP/1.1" 200 63363
[16/Aug/2024 23:29:01] "GET /static/tom_common/css/main.css HTTP/1.1" 200 361
[16/Aug/2024 23:29:01] "GET /static/tom_common/css/custom.css HTTP/1.1" 200 657
[16/Aug/2024 23:29:02] "GET /static/tom_common/img/logo-color-cropped.png HTTP/1.1" 200 55240
[16/Aug/2024 23:29:03] "GET /static/tom_common/img/MOP.jpeg HTTP/1.1" 200 132404
[16/Aug/2024 23:29:04] "GET /django_plotly_dash/app/TargetlistTable/ HTTP/1.1" 200 3741
Not Found: /targets/P/DSS2/color/properties
Not Found: /targets/P/DSS2/color/properties
[16/Aug/2024 23:29:04] "GET /targets/P/DSS2/color/properties HTTP/1.1" 404 10697
[16/Aug/2024 23:29:04] "GET /django_plotly_dash/app/TargetlistTable/_dash-dependencies HTTP/1.1" 200 3
[16/Aug/2024 23:29:04] "GET /django_plotly_dash/app/TargetlistTable/_dash-layout HTTP/1.1" 200 1563

I found the public documentation to be quite sparse and opaque. The best description I found here, but it didn't resolve the issue. This demo application was also useful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant