allenai / ScienceWorld

ScienceWorld is a text-based virtual environment centered around accomplishing tasks from the standardized elementary science curriculum.
https://sciworld.apps.allenai.org/
Apache License 2.0
199 stars 24 forks source link

Replace `print()` statements with `logging.info()` #36

Closed aphedges closed 1 year ago

aphedges commented 1 year ago

ScienceWorld is a library and is expected to be called with other code. The use of print() statements prevents a calling program from controlling its output. Switching to the logging module allows finer-grained control of ScienceWorld's output.

aphedges commented 1 year ago

I have fixed the conflicts created after #30 was merged.

MarcCote commented 1 year ago

Totally agree with you :). Thanks.