OpenUpSA / mpr_analysis

0 stars 0 forks source link

Mg comes up as -g in the equivalence key #2

Open jbothma opened 7 years ago

jbothma commented 7 years ago
ls | grep 100--g
anti-d--rh--immunoglobulin-500-iu-anti-d--rho--immunoglobulin-100--g-500-iu.png
everolimus-100--g-cm2.png
fentanyl-100--g-h.png
levothyroxine-sodium-100--g-levothyroxine-sodium-100-mcg.png
levothyroxine-sodium-100--g.png
thyroxine-sodium-100--g.png
xybrnet commented 7 years ago

It seems this happens for micrograms (μg)

jbothma commented 7 years ago

oooh it's probably because miu doesn't match \w

On 30 August 2017 at 08:28, xybrnet notifications@github.com wrote:

It seems this happens for micrograms (μg)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Code4SA/mpr_analysis/issues/2#issuecomment-325895049, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOZGZsFo_yZUXFh5iwS1GN_V8X7Quorks5sdQEpgaJpZM4PCfnN .

xybrnet commented 7 years ago

Yes, I think so too.

xybrnet commented 7 years ago

https://github.com/Code4SA/mpr_analysis/blob/master/mpr_analysis/models.py#L46