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

Use unique string IDs #142

Merged
merged 96 commits into from
Jul 3, 2023
Merged

Use unique string IDs #142

merged 96 commits into from
Jul 3, 2023

Commits on Apr 5, 2023

  1. change BGC attributes type from list to tuple

    The following BGC attributes are updated:
    - product_prediction
    - mibig_bgc_class
    - smiles
    CunliangGeng committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    742d4b5 View commit details
    Browse the repository at this point in the history
  2. use positional-only parameter in BGC and GCF

    Parameters before "/" are positional-only parameters, see https://docs.python.org/3/glossary.html#term-parameter.
    CunliangGeng committed Apr 5, 2023
    Configuration menu
    Copy the full SHA
    f1cac59 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    18e77a6 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2023

  1. Configuration menu
    Copy the full SHA
    da2cf41 View commit details
    Browse the repository at this point in the history
  2. Update gcf.py

    CunliangGeng committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    2111e5b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0736476 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fda1208 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0a7ccee View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6a373e1 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    33ed3c6 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f6bae56 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f81accf View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    53dad82 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    45d8765 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    7cb75e0 View commit details
    Browse the repository at this point in the history
  13. remove from __eq__

    CunliangGeng committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    f797ee5 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2023

  1. Configuration menu
    Copy the full SHA
    8a3fa1b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8875400 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2f77539 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    dae421d View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2023

  1. Configuration menu
    Copy the full SHA
    504862e View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2023

  1. Configuration menu
    Copy the full SHA
    8b160e6 View commit details
    Browse the repository at this point in the history
  2. add comments to GNPSSpectrumLoader

    to figure out how `spectrum_id` is set
    CunliangGeng committed Apr 18, 2023
    Configuration menu
    Copy the full SHA
    8e9557c View commit details
    Browse the repository at this point in the history

Commits on Apr 28, 2023

  1. Configuration menu
    Copy the full SHA
    9257e0b View commit details
    Browse the repository at this point in the history
  2. update spec_dict

    CunliangGeng committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    43f6d80 View commit details
    Browse the repository at this point in the history
  3. Update tests

    CunliangGeng committed Apr 28, 2023
    Configuration menu
    Copy the full SHA
    7536e42 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a0cf97a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b53af96 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2023

  1. Configuration menu
    Copy the full SHA
    ca848fd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    583fa33 View commit details
    Browse the repository at this point in the history

Commits on May 2, 2023

  1. change array to dataframe in DataLinks

    1. Change array to dataframe:
    - self.M_gcf_strain -> self.gcf_strain_occurrence
    - self. M_spec_strain -> self.spec_strain_occurrence
    - self. M_fam_strain -> mf_strain_occurrence
    2. update relevant methods to get the new dataframes
    3. update logics of method `common_strains` using the new dataframes
    CunliangGeng committed May 2, 2023
    Configuration menu
    Copy the full SHA
    6ebaf0d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2cd8e01 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2834345 View commit details
    Browse the repository at this point in the history

Commits on May 3, 2023

  1. Update test_nplinker.py

    - add code to remove cached results
    CunliangGeng committed May 3, 2023
    Configuration menu
    Copy the full SHA
    ee5ff03 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ef94418 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1edabc5 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d7ad2c0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4f8d811 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ab7268a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    995d6d2 View commit details
    Browse the repository at this point in the history
  8. refactor DataLinks attributes

    - Move assignment of attributes to `__init__`
    - Rename attributes
    - Replace `fam` or `molfam` with `mf` to refer to molecular family
    - Add docstrings
    CunliangGeng committed May 3, 2023
    Configuration menu
    Copy the full SHA
    742e6e5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    66cda2c View commit details
    Browse the repository at this point in the history
  10. update get_common_strains methods

    - update parameters to be more clear and specific
    - change strain id in returned dict to strain objects
    -  update docstrings
    CunliangGeng committed May 3, 2023
    Configuration menu
    Copy the full SHA
    7094d0d View commit details
    Browse the repository at this point in the history
  11. remove lookup_index method from StrainCollection (#90)

    - remove method `lookup_index`
    - remove attribute `_strain_dict_index`
    CunliangGeng committed May 3, 2023
    Configuration menu
    Copy the full SHA
    0b13746 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    96d2210 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    44d2c67 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    92aee38 View commit details
    Browse the repository at this point in the history
  15. format link_finder.py

    CunliangGeng committed May 3, 2023
    Configuration menu
    Copy the full SHA
    d239940 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    8ed8ce9 View commit details
    Browse the repository at this point in the history

Commits on May 8, 2023

  1. Configuration menu
    Copy the full SHA
    e4bdd95 View commit details
    Browse the repository at this point in the history
  2. refactor LinkFinder.metcalf_scoring method

    - rename parameter name
    - wrap parameters for weights to one parameter
    - extract private method `_cal_mean_std`
    CunliangGeng committed May 8, 2023
    Configuration menu
    Copy the full SHA
    14a1aac View commit details
    Browse the repository at this point in the history
  3. refactor get_links

    CunliangGeng committed May 8, 2023
    Configuration menu
    Copy the full SHA
    d2d6a10 View commit details
    Browse the repository at this point in the history

Commits on May 9, 2023

  1. remove unused methods and scorings from LinkFinder

    -  remove unused `likescore` and `hg` scoring types
    - remove all unused methods
    CunliangGeng committed May 9, 2023
    Configuration menu
    Copy the full SHA
    2078488 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5d9a916 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    47770c5 View commit details
    Browse the repository at this point in the history

Commits on May 11, 2023

  1. Configuration menu
    Copy the full SHA
    25606e1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e22a8ce View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    79ecb4d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ac94cd8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    8c98e96 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    96dcb66 View commit details
    Browse the repository at this point in the history
  7. Delete test_scoring.py

    CunliangGeng committed May 11, 2023
    Configuration menu
    Copy the full SHA
    18eb841 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    4f12f35 View commit details
    Browse the repository at this point in the history
  9. remove mapping dataframes and relevant method from DataLinks

    Removed:
    - self.mapping_spec
    - self.mapping_gcf
    - self.mapping_fam
    -self.mapping_strain
    - _get_mappings_from_occurrence() method
    CunliangGeng committed May 11, 2023
    Configuration menu
    Copy the full SHA
    e3fdd86 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    7ef4da3 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    fd01596 View commit details
    Browse the repository at this point in the history
  12. update LinkFinder's attribute and private method

    - refactor method `_cal_mean_std`
    - rename attribute `raw_score_fam_gcf` to `raw_score_mf_gcf`
    CunliangGeng committed May 11, 2023
    Configuration menu
    Copy the full SHA
    9f0b289 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    3e3bdfa View commit details
    Browse the repository at this point in the history
  14. Update vscode plugin autodocstring template

    - fix indentation bug in autodocsting
    - remove `Examples:` section
    CunliangGeng committed May 11, 2023
    Configuration menu
    Copy the full SHA
    46880a8 View commit details
    Browse the repository at this point in the history
  15. add scope for fixtures

    CunliangGeng committed May 11, 2023
    Configuration menu
    Copy the full SHA
    31586dd View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    22ffd90 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    79082a6 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    15a0bd1 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    f0f570a View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    9f4bd2b View commit details
    Browse the repository at this point in the history
  21. Update test_data_links.py

    - add docstrings
    - add more tests
    CunliangGeng committed May 11, 2023
    Configuration menu
    Copy the full SHA
    1bd05a8 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    a19f43f View commit details
    Browse the repository at this point in the history

Commits on May 12, 2023

  1. Configuration menu
    Copy the full SHA
    6fc0ef5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    91bcff7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    989471a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    04a5b27 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9c7dd49 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    60ccbdb View commit details
    Browse the repository at this point in the history
  7. remove local integration tests for scoring part of NPLinker

    - rename `test_nplinker.py` to `test_nplinker_local.py`
    CunliangGeng committed May 12, 2023
    Configuration menu
    Copy the full SHA
    9a1af05 View commit details
    Browse the repository at this point in the history
  8. remove unused imports

    CunliangGeng committed May 12, 2023
    Configuration menu
    Copy the full SHA
    b0e44e1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    a2efd69 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6ee04e9 View commit details
    Browse the repository at this point in the history

Commits on May 15, 2023

  1. Configuration menu
    Copy the full SHA
    88f48b3 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2023

  1. Configuration menu
    Copy the full SHA
    27bcc2d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ab5d025 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e4a0b3e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ade54a3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    78aa794 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    09c049f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    1ba7106 View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2023

  1. Configuration menu
    Copy the full SHA
    0f1352a View commit details
    Browse the repository at this point in the history