oxinabox / DataDeps.jl

reproducible data setup for reproducible science
Other
151 stars 43 forks source link

Flush(stdout) before checking if accept terms #163

Open oxinabox opened 1 year ago

oxinabox commented 1 year ago

I work with DataDeps in a jupyter notebook. I don't mind having to agree to download, but the problem is that in jupyter notebooks, print statements are often only displayed after the execution of the function has finished, so I essentially need to agree to download without seeing the message which prompts me to do so. I was wondering whether you could add a flush(stdout) after the print statement and before the input in check_if_accept_terms? Should be after this line.

Originally posted by @MariaHei in https://github.com/oxinabox/DataDeps.jl/issues/115#issuecomment-1481493624