spine-tools / Spine-Database-API

Database interface to Spine generic data model
https://www.tools-for-energy-system-modelling.org/
GNU Lesser General Public License v3.0
6 stars 5 forks source link

No entity can pass its tool filter when there are multiple `tool_feature_method`s #372

Open nnhjy opened 7 months ago

nnhjy commented 7 months ago

As the title indicates, in the test.zip DB, the tool filter designed to keep 2 categories out of 3 among the entities of tech class takes away all entites.

nnhjy commented 7 months ago

commit c9fc629 fixes the issue (in a seemingly naive way). We may need new unit tests for the corresponding case.