materialsintelligence / propnet

A knowledge graph for Materials Science.
Other
72 stars 23 forks source link

Filter sandboxed materials #263

Closed clegaspi closed 4 years ago

clegaspi commented 4 years ago

The MP builder now filters sandboxed materials by default since we weren't doing that before (oops). Also updates test data to make sure we don't have any sandboxed materials in there.

The builder only pulls from the "core" sandbox. Optionally, can set the builder to pull all materials regardless of the sandbox. May be useful for internal builds, but probably will need to be changed to specify a sandbox name explicitly. Could also just use include_sandboxed=True and be sure to write in {'sbxn': 'my_sandbox'} somewhere in the criteria field.

coveralls commented 4 years ago

Coverage Status

Coverage increased (+0.08%) to 84.959% when pulling 0269e47f0cc0e62496163dc3da90b87acf0a4262 on builder_sbx into 885a040166d28ea94f0a2f9b1d3653293cd6b75e on master.