import uuid

from pprint import pprint
from datetime import date

from ovation.lab.session import connect

"""
Explanation: Samples and Results
Setup
End of explanation
"""


s = connect(input("Email: "), api=constants.LAB_STAGING_HOST) # use constants.LAB_PRODUCTION_HOST for production

"""
Explanation: API Key
Create an API key in the Ovation application at Account > Settings > API Keys (https://support.ovation.io/article/52-api-overview)
Connection
s is a Session object representing a connection to the Ovation API
End of explanation
"""


sample_id = input('Sample Id: ')

results = results.get_sample_results(s, result_type='quantification', sample_id=sample_id)

"""
Explanation: Sample results
results.get_sample_results gets all Workflow Sample Results for the sample, result type, and workflow. If workflow is omitted, all sample results for the given type are returned. 
Get the quantification results for a sample:
End of explanation
"""


