Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@cthoyt
Copy link
Contributor

@cthoyt cthoyt commented Oct 28, 2022

This PR moves the filter_out_duplicates() frunction from the gilda.generate_terms module to gilda.term module.

This makes it possible for biomappings to import this function without installing indra.

Since filter_out_duplicates is still imported by gilda.generated_terms, it is still available in the namespace and therefore no downstream code needs to be modified.

@cthoyt cthoyt requested a review from bgyori October 28, 2022 15:05
cthoyt and others added 3 commits November 17, 2022 11:28
This PR moves the `filter_out_duplicates()` frunction from the `gilda.generate_terms` module to `gilda.term` module.

This makes it possible for `biomappings` to import this function without installing `indra`.

Since `filter_out_duplicates` is still imported by `gilda.generated_terms`, it is still available in the namespace and therefore no downstream code needs to be modified.
@bgyori bgyori force-pushed the move-filter-duplicates branch from 30cb3b0 to b568cbb Compare November 17, 2022 16:29
]

logger = logging.getLogger("gilda.term")
logger = logging.getLogger(__name__)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I typically do this but noticed it wasn't the case in the other module, maybe we can normalize that one now too

@bgyori bgyori merged commit a189a7b into gyorilab:master Nov 17, 2022
@cthoyt cthoyt deleted the move-filter-duplicates branch November 17, 2022 19:17
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