funkelab / daisy

Block-wise task scheduling for large nD volumes.
MIT License
25 stars 16 forks source link

Unset attributes #24

Closed cmalinmayor closed 3 years ago

cmalinmayor commented 3 years ago

I'm not sure this functionality is in line with the spirit of the udpate_edge_attrs/update_node_attrs functions. These functions update the node/edge attrs to match the local networkx graph, while my change just removes stuff from the database regardless of the state of the local networkx graph. It would be better to have an option where you remove attributes from the database that are not present in the local nx graph (potentially limited by the passed in attribute list), but I don't actually need that functionality right now, so I'll leave it to the future.