esturdivant-usgs / science-base-automation

Automating large USGS ScienceBase data releases
4 stars 2 forks source link

Multiple subparent pages are created for a single directory #60

Closed esturdivant-usgs closed 5 years ago

esturdivant-usgs commented 5 years ago

This seems to have been caused by the sb.get_child_ids(parentid) command not returning the child IDs because the item was not updated quickly enough. To prevent this, I added a 1 second sleep after creating a child page.