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

Update BEDES Mapping #146

Merged
merged 3 commits into from
Dec 28, 2021
Merged

Update BEDES Mapping #146

merged 3 commits into from
Dec 28, 2021

Conversation

haneslinger
Copy link
Contributor

No description provided.

@JieXiong9119
Copy link
Contributor

@nllong It turned out that the new version of BEDES does have duplicated List-Option (enumeration) names, so we loosed the constraint of uniqueness for querying term, 'definition, urlandrelated_term_uuid(in fact we only kept theuuidunique). Now the--save_to_db` command will not reparse but only push the mapping to db.

Co-authored-by: Jie Xiong <69597597+JieXiong9119@users.noreply.github.com>
@@ -24,7 +24,7 @@ class BedesMapping(models.Model):
# Bedes Enumeration
class BedesEnumeration(models.Model):
content_uuid = models.CharField(max_length=100, unique=True)
term = models.CharField(max_length=100, unique=True)
term = models.CharField(max_length=100)
Copy link
Member

Choose a reason for hiding this comment

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

cool

Co-authored-by: Nicholas Long <1907354+nllong@users.noreply.github.com>
@haneslinger haneslinger merged commit b6592ef into develop Dec 28, 2021
@haneslinger haneslinger deleted the Updated-BEDES-Mapping branch December 28, 2021 20:40
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.

4 participants