Skip to content

Instantly share code, notes, and snippets.

@terrycojones
Created December 4, 2011 20:56
Show Gist options
  • Save terrycojones/1431251 to your computer and use it in GitHub Desktop.
Save terrycojones/1431251 to your computer and use it in GitHub Desktop.
from fom.session import Fluid
fdb = Fluid()
fdb.login('username', 'password')
fdb.values.put(
query='fluiddb/about = "unidentified monkey"',
values = {
'taxonomy/ncbi/Division': 'Primates',
'taxonomy/ncbi/Lineage': [
'Euteleostomi', 'Eukaryota', 'Euarchontoglires', 'Gnathostomata',
'Eumetazoa', 'cellular organisms', 'unclassified Primates',
'Opisthokonta', 'Coelomata', 'Vertebrata', 'Primates', 'Tetrapoda',
'Sarcopterygii', 'Chordata', 'Eutheria', 'Bilateria', 'Teleostomi',
'Amniota', 'Theria', 'Metazoa', 'Mammalia', 'Deuterostomia',
'Craniata'],
'taxonomy/ncbi/LineageIds': [
'33208', '57118', '9347', '314146', '40674', '131567', '7711',
'33316', '7776', '89593', '33154', '32525', '32524', '32523', '33511',
'33213', '9443', '8287', '117571', '117570', '7742', '6072', '2759'],
'taxonomy/ncbi/ParentTaxId': 57118,
'taxonomy/ncbi/Rank': 'species',
'taxonomy/ncbi/ScientificName': 'unidentified monkey',
'taxonomy/ncbi/Synonyms': ['Monkey sp.']
'taxonomy/ncbi/TaxId': 70699
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment