Skip to content

Conversation

@pg427
Copy link
Contributor

@pg427 pg427 commented Sep 26, 2024

Updated novelty score calcualtions including integrations of:

  1. Clinical Trials/ Clinical Approvals - MVP1
  2. TDLs - MVP2
  3. Gene Distinctiveness - MVP2

Updated novelty score calcualtions including integrations of:
1. Clinical Trials/ Clinical Approvals - MVP1
2.  TDLs - MVP2
3. Gene Distinctiveness - MVP2
Removed local imports from files and transferred functions from the files to compute_novelty.py
Due to code import in compute_novelty.py, removed files: known.py, molecular_similarity.py, extr_smile_molpro_by_id.py
Removed commented code from compute_novelty.py
Switched error cases to include 0s instead of "NAN" ion the Dataframe.
Redis is implemented in the function get_publication_info to compute recency score at a much faster rate.
Used updated links to produce SMILEs for Molecular similarity computation in lesser time.
Copy link
Collaborator

@maximusunc maximusunc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Please remove the .idea folder from this PR, and add it to the .gitignore.
  • This repo also uses black, which is why one of the CI/CD checks is failing. This auto-formats all the code and makes sure that it is formatted to a certain standard. I would get all your other commits in order and then run this, which will make many many updates and then you can commit all these black changes together.

Removed commented lines of code
Removed system path lines
Updated code to remove depreciation issues
Removed chk_gene_nmf.py
Updated code to look for publications in all applicable locations for all ARAs
Copy link
Collaborator

@maximusunc maximusunc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code no longer works "as is". All of the existing imports that have to do with gene_nmf and dcc need to be changed to relative imports.

Copy link
Collaborator

@maximusunc maximusunc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks for all your work @pg427 !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants