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

Additional Sync script methods #47

Merged
merged 7 commits into from
Jun 27, 2017

Conversation

kauberry
Copy link
Contributor

Adding in methods to lookup transactions from a given tkv keyname, and methods to merge in additional tkv metadata from outside sources

Description

Adds classes to handle the lookup and import of transaction key/value data from external repositories for purposes of backfilling extended metadata

Issues Resolved

#46

Check List

@@ -0,0 +1,36 @@
{
"67": {
"ncbi_taxonomy_id": 9606,
Copy link
Member

Choose a reason for hiding this comment

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

I understand what you are trying to do with this now, could you make the key value pairs more generic for the test data set?

def __init__(self):
"""Create local objects for subtree items."""
self.values_for_key = ValuesForKey()
self.upload_entries = UploadEntries
Copy link
Member

Choose a reason for hiding this comment

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

Having the ability to upload from a url that has the info phrase in it isn't right, we should rename this to be at the root maybe /tkvupload or something

@dmlb2000
Copy link
Member

This looks good as soon as travis passes I'll merge it

Copy link
Member

@dmlb2000 dmlb2000 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

@dmlb2000 dmlb2000 merged commit 733e819 into pacifica:master Jun 27, 2017
kauberry added a commit to kauberry/pacifica-metadata that referenced this pull request Jul 12, 2017
* master:
  Additional Sync script methods (pacifica#47)

# Conflicts:
#	metadata/rest/root.py
@kauberry kauberry deleted the issue-46-tkv_additions branch July 18, 2017 20:34
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