jxx123 / simglucose

A Type-1 Diabetes simulator implemented in Python for Reinforcement Learning purpose
MIT License
251 stars 114 forks source link

bug fix of custom-scenario-functionality in gym #46

Closed jingyi-y closed 2 years ago

jingyi-y commented 2 years ago

Hi,

I happened to find that custom scenarios were not correctly applied during experimentation with simglucose in OpenAI Gym. This was caused by the missing of custom_scenario param in _reset function.

I fixed this already.

Have a great day, Jingyi