monodera / pfs_target_uploader

A web application to validate and upload target lists with pointing simulations for PFS observation
https://pfs-etc.naoj.hawaii.edu/uploader/
MIT License
1 stars 0 forks source link

Notify users if the input target list is too large #206

Open monodera opened 1 month ago

monodera commented 1 month ago

Is your feature request related to a problem? Please describe. The uploader silently crashes with the loading spinner moving when the input target list is too large due to the over-consumption of memory. The user cannot know if they have to wait or not.

Describe the solution you'd like After loading the input target list or the simulate button is being pushed, a notification to tell the user if the list is too large and the simulation cannot be run online.

I'm not sure how to properly estimate the threshold number as the memory consumption highly depends on the target distribution.