Materials-Consortia / optimade-tutorial-exercises

Tutorial exercises for the OPTIMADE API
https://optimade.org
MIT License
15 stars 7 forks source link

Added timeout and used mcloud.2dstructures instead of mcloud.threedd #11

Closed JPBergsma closed 2 years ago

JPBergsma commented 2 years ago

The 3DD database is still in beta and therefore not always online. Therefore, I have replaced it with the materials cloud 2dmaterials database. I however noticed that this database sometimes takes longer than 5 seconds to reply, so I increased the timeout time. I think there are more databases that do not reply very quickly, so I think it would be good for the students to know about the timeout field anyway.