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

Allow FList to store MultiPack entries #902

Merged
merged 6 commits into from
Jan 3, 2023

Conversation

Pushkar-Bhuse
Copy link
Collaborator

This PR adds a functionality mentioned in the comments of #900.

Description of changes

In this PR, we modify the interface of FList to store and process MultiPack entries. Currently, these are mainly used by the MultiPackGroup entry to store group members. The way this happens is that for MultiPack entries, we store them as a tuple of the tid of the entry and the tid of the DataPack the entry is associated with.

Possible influences of this PR.

We can now store MultiPack entries in FList now, something that was not not possible earlier.

Test Conducted

Describe what test cases are included for the PR.

@Pushkar-Bhuse Pushkar-Bhuse changed the title Allow List to store MultiPack entries Allow FList to store MultiPack entries Sep 9, 2022
@codecov
Copy link

codecov bot commented Sep 9, 2022

Codecov Report

Merging #902 (d62e957) into master (d5869b3) will decrease coverage by 0.03%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master     #902      +/-   ##
==========================================
- Coverage   80.91%   80.87%   -0.04%     
==========================================
  Files         253      253              
  Lines       19618    19619       +1     
==========================================
- Hits        15874    15867       -7     
- Misses       3744     3752       +8     
Impacted Files Coverage Δ
forte/data/ontology/core.py 80.22% <38.88%> (-2.25%) ⬇️
forte/data/ontology/top.py 78.10% <100.00%> (-0.64%) ⬇️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@mylibrar mylibrar merged commit 72e8bce into asyml:master Jan 3, 2023
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.

3 participants