Skip to content

Add Star filter and wildcard search in Formula and Smiles

Carlos Andres Moreno Velez requested to merge dev into main

Resolves #68 (closed)

Here I am adding the new feature of the advanced search to filter results by 3 stars only (it is also possible to filter by 2 stars only, but I think it is not going to be used regularly). API gets all stars by default (2 and 3 stars).

Additionally, I added a new feature in the advanced text search to get compounds by formula and smiles using wildcards. So, now it is possible to search: *H2* or O=c1c2*

  • This change has security impacts (if so, add them to the description)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation (README, Confluence etc.)
  • My changes generate no new warnings in the build
  • I have added tests that prove my fix is effective or that my feature works
  • My code does not decrease pylint score

Dependencies

  • This Merge Request is dependent on any other Merge Request or configuration or some ticket; please mention here
  • Includes migration
  • Installs new requirement

Post Review

  • Squash and merge feature_branch to staging
  • Delete branch after merge

Merge request reports