-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output Column Naming and Append vs replace #59
Comments
Thinking in depth about it showed that implementing this as suggested would break backward compatibility of all RDKit calculation nodes. The current settings controlling the behavior are "New column name" (String) and "Replace source column" (bool). The new proposed settings are "Append" (bool) and "New column name" (String). The following mapping could be done (and NOT be done): Old: New column name != source column, Remove source column True Old: New column name == source column, Remove source column True Old: New column name != source column, Remove source column False Not applicable (invalid): As it would be very confusing for RDKit node users to have suddenly the default use case changed or not supported anymore, two different alternatives come to mind:
I would propose to implement this second alternative, which is fully backward compatible and quite easy to change in the code. |
Agree. 2. makes sense. |
This is most likely very subjective but I always "struggle" with the configuration of the RDKit nodes namely the output column name of the changed molecule. The actual cases where I do NOT want to simply replace the exiting column are rare. So I end up having to check "Remove Source Column" and then Change the output column name back to the original name. This still leaves the issue that now the column order needs to be fixed afterwards. It's just cumbersome and not very neat/clean.
I much prefer the way the indigo nodes handle this with the Append column check box.
I simply need to uncheck the box and it's done (ideally it should be unchecked by default). It also actually replaces the column and keeps column order intact.
The suggestion hence is do it like the indigo nodes but have "append column" unchecked by default. This would in my opinion greatly increase the ease of use of RDKit nodes for common use-cases.
The text was updated successfully, but these errors were encountered: