-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
It seems that currently the flavor-builder is not taking into account the '$delete' property.
For instance this view was deleted: https://www.cheminfo.org/couch/_utils/document.html?cheminfo-public/59dec54d14e5e206142256823efa2d1c
But it is still available at: https://www.cheminfo.org/flavor/cheminformatics/SMILES/Smiles/index.html even after deleting the whole build folder and running node bin/build.js --config=/usr/local/flavor-builder/config/www.cheminfo.org.json --forceUpdate
Not sure if the change should be at this level ?
Lines 405 to 415 in ea3e2c5
// Remove deleted views | |
const savedIds = revisionById[flavorName] | |
? Object.keys(revisionById[flavorName]) | |
: []; | |
for (let i = 0; i < savedIds.length; i++) { | |
if (!flavorIds[savedIds[i]]) { | |
hasDeleted = true; | |
delete revisionById[flavorName][savedIds[i]]; | |
} | |
} |
@stropitek could you help me on this ?
Metadata
Metadata
Assignees
Labels
No labels