Closed leppott closed 1 year ago
The problem was the values in the Config.R were not numeric without evaluation (or were values from elsewhere in the environment).
Load the env in Global (same as in ContDataQC function).
Can now reference the values straight from the environment. Will only do for the values not showing.
Describe the bug Edit "thresholds" screen. The values that are not straight numbers (e.g., 10^3) do not come through.
Writing back to the file is fine.
To Reproduce Navigate to the edit thresholds Select any of Sensor Depth, Discharge, Turbidity, Chl a, or Water Level Spike test will not show any values
Expected behavior Should have the values from Config.R
Screenshots![image](https://user-images.githubusercontent.com/24276278/209177643-c36c61b3-bc13-40a1-8726-db5757acb94c.png)
Additional context The code references the text file Config.R and pulls the text. If not a number it does not try to convert it. Should pull instead from the environment (e.g., ContData.env$myThresh.Gross.Suspect.Hi.SensorDepth).
Writing is fine.