Skip to content
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

Standardize toolkit I/O #1006

Merged
merged 43 commits into from
Jul 7, 2021
Merged

Standardize toolkit I/O #1006

merged 43 commits into from
Jul 7, 2021

Commits on Jul 1, 2021

  1. Configuration menu
    Copy the full SHA
    457ced6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6d1a9b1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0686564 View commit details
    Browse the repository at this point in the history
  4. use a common helper function to map file_format to the OEFormat_*; ra…

    …ise ValueError if not found.
    adalke committed Jul 1, 2021
    Configuration menu
    Copy the full SHA
    5f163cb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f1830b2 View commit details
    Browse the repository at this point in the history
  6. in RDKit.from_file_obj(file_format="SMI") save to a local file and us…

    …e SmilesMolSupplier instead of writing a new SMILES parser
    adalke committed Jul 1, 2021
    Configuration menu
    Copy the full SHA
    dba11e9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    e2842d2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f918cea View commit details
    Browse the repository at this point in the history
  9. properly change if/elif in format_name test. If from_file_obj(format_…

    …name) doesn't exist, raise ValueError
    adalke committed Jul 1, 2021
    Configuration menu
    Copy the full SHA
    e752e6a View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    036f29c View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2021

  1. Configuration menu
    Copy the full SHA
    9c20627 View commit details
    Browse the repository at this point in the history
  2. pulled the SDF parsing into its own method so from_file_obj() could u…

    …se the same code as from_file()
    adalke committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    f74505a View commit details
    Browse the repository at this point in the history
  3. add tests for the "smi" to_file()/to_file_obj(), change toolkits to u…

    …se the same SMILES as to_smiles(); don't include a header line in RDKit
    adalke committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    7956d5e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5744d81 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    59879f8 View commit details
    Browse the repository at this point in the history
  6. check for SMILES parse error

    adalke committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    04c49a3 View commit details
    Browse the repository at this point in the history
  7. add some basic SMILES tests

    adalke committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    a44f472 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    025788f View commit details
    Browse the repository at this point in the history
  9. check for "ethanol" in the SMILES output line. Check that stereochemi…

    …stry testing works in from_smiles()
    adalke committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    8109e56 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    5fb0e20 View commit details
    Browse the repository at this point in the history
  11. black and isort

    adalke committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    7b6fde7 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    39b60a0 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    32de62c View commit details
    Browse the repository at this point in the history
  14. improve comments for data file managers. Using "file_obj_manager" ins…

    …tead of "fileobj_manager" for consistency
    adalke committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    2b17731 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    eae1250 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    22a17bc View commit details
    Browse the repository at this point in the history
  17. handle RDKit parse failures in SMILES file lines instead of raise an …

    …odd exception with the None molecule
    adalke committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    2b801da View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    d6dfa08 View commit details
    Browse the repository at this point in the history
  19. use Chem.ForwardSDMolSuppler instead of Chem.SupplierFromFilename bec…

    …ause the format is specified; no need to guess from the filename.
    adalke committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    08be44b View commit details
    Browse the repository at this point in the history
  20. Added OEChem ifs(filename).IsValid() test to see if the open failed. …

    …Raise error if it fails.
    adalke committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    50a6359 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    e6486ae View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    d01d36e View commit details
    Browse the repository at this point in the history
  23. black cleanup

    adalke committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    863cc2a View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    822f0bd View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    4b55a34 View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    8ffc0be View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2021

  1. improved documentation on RDKit SMILES from_file_obj() backwards comp…

    …ability support for 't'ext mode files
    adalke committed Jul 3, 2021
    Configuration menu
    Copy the full SHA
    a3658a3 View commit details
    Browse the repository at this point in the history
  2. Put information about the changed to_file(file_format="SMI") behavior…

    …s: explicit [H]:s for both toolkits, no header line for RDKit
    adalke committed Jul 3, 2021
    Configuration menu
    Copy the full SHA
    9022091 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4dfba44 View commit details
    Browse the repository at this point in the history

Commits on Jul 7, 2021

  1. Configuration menu
    Copy the full SHA
    34a0057 View commit details
    Browse the repository at this point in the history
  2. fixed copy&paste error resulting in two tests with the same name.

    Fixed the test case that wasn't actually being tested.
    adalke committed Jul 7, 2021
    Configuration menu
    Copy the full SHA
    176d3b8 View commit details
    Browse the repository at this point in the history
  3. fixed two more cases where copy&paste'd method names weren't updated,…

    … shadowing other tests
    adalke committed Jul 7, 2021
    Configuration menu
    Copy the full SHA
    02ab331 View commit details
    Browse the repository at this point in the history
  4. black

    adalke committed Jul 7, 2021
    Configuration menu
    Copy the full SHA
    a075c9e View commit details
    Browse the repository at this point in the history