mcsiple / mmrefpoints

A package for simulating marine mammal abundance and calculating reference points.
Other
3 stars 5 forks source link

Bug: Shiny app on server does not adapt max bycatch to pop size #63

Closed MargaretSiple-NOAA closed 2 years ago

MargaretSiple-NOAA commented 2 years ago

Server version of app does not allow bycatch in number of individuals to go above 2,000 (Advanced tab only)

To Reproduce Steps to reproduce the behavior:

  1. Go to Advanced
  2. Put in any pop size >2,000
  3. Set bycatch to number of individuals
  4. See scale bar does not adapt to max bycatch = total pop size

Expected behavior Bycatch (N/year) slider should go up to max pop size

Screenshots image

Desktop (please complete the following information):

Additional context Thanks to Amaia Astarloa Diaz, who found this bug while testing out the app!