Open mwalte10 opened 3 months ago
Some files have DP descriptions in french, which is causing some of the DP extraction functions to break. This can be fixed by extracting based on the tag (which remains in english), rather than the description.
https://github.com/mrc-ide/frogger/blob/main/scripts/read_spectrum.R#L778 https://github.com/mrc-ide/frogger/blob/main/scripts/read_spectrum.R#L759 https://github.com/mrc-ide/frogger/blob/main/scripts/read_spectrum.R#L800 https://github.com/mrc-ide/frogger/blob/main/scripts/read_spectrum.R#L824 https://github.com/mrc-ide/frogger/blob/main/scripts/read_spectrum.R#L939
Some files have DP descriptions in french, which is causing some of the DP extraction functions to break. This can be fixed by extracting based on the tag (which remains in english), rather than the description.
https://github.com/mrc-ide/frogger/blob/main/scripts/read_spectrum.R#L778 https://github.com/mrc-ide/frogger/blob/main/scripts/read_spectrum.R#L759 https://github.com/mrc-ide/frogger/blob/main/scripts/read_spectrum.R#L800 https://github.com/mrc-ide/frogger/blob/main/scripts/read_spectrum.R#L824 https://github.com/mrc-ide/frogger/blob/main/scripts/read_spectrum.R#L939