Skip to content

Commit

Permalink
Added blood (skin prick) as an available sample type, reordered sampl…
Browse files Browse the repository at this point in the history
…e types dropdown to be more useful
  • Loading branch information
AmandaBirmingham committed Apr 13, 2020
1 parent 1ed8f40 commit a6e0873
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion microsetta_private_api/api/microsetta_private_api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1024,7 +1024,7 @@ components:
nullable: true
example: "Oops, I dropped it"
sample_site:
enum: ["Ear wax", "Forehead", "Fur", "Hair", "Left hand", "Left leg", "Mouth", "Nares", "Nasal mucus",
enum: ["Blood (skin prick)", "Ear wax", "Forehead", "Fur", "Hair", "Left hand", "Left leg", "Mouth", "Nares", "Nasal mucus",
"Right hand", "Right leg", "Stool", "Tears", "Torso", "Vaginal mucus", null]
example: "Stool"
sample_locked:
Expand Down
8 changes: 4 additions & 4 deletions microsetta_private_api/example/client_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,10 +385,10 @@ def get_sample(account_id, source_id, sample_id):
if do_return:
return sample_output

sample_sites = ["Ear wax", "Forehead", "Fur", "Hair", "Left hand",
"Left leg", "Mouth", "Nares", "Nasal mucus", "Right hand",
"Right leg", "Stool", "Tears", "Torso", "Vaginal mucus",
"Blood (skin prick)"]
sample_sites = ["Blood (skin prick)", "Stool", "Mouth", "Nares",
"Nasal mucus", "Right hand", "Left hand",
"Forehead", "Torso", "Right leg", "Left leg",
"Vaginal mucus", "Tears", "Ear wax", "Hair", "Fur"]

factory = VueFactory()

Expand Down

0 comments on commit a6e0873

Please sign in to comment.