AnatomicMaps / map-knowledge

Flatmap SCKAN knowledge store
Apache License 2.0
0 stars 5 forks source link

fix layer and collect counts not matching when all bad layers zapped #6

Closed tgbugs closed 1 year ago

tgbugs commented 1 year ago

If all layer candidates were bad then the layer count would not match the collect count and this would cause an error. Now if there were no layers or we removed all the layer_ies candidates we restore the None layer so that we don't trigger the error condition.

closes https://github.com/open-physiology/apinatomy-models/issues/28