Created
December 2, 2021 19:57
-
-
Save amysteier/c7e289912f30e2d3376d2e3f1bb85852 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for i in range(len(studies)): | |
study = studies[i] | |
print("Study " + str(i)) | |
for j in range(len(study.trials)): | |
state = str(study.trials[j].state)[11:] | |
if state == "COMPLETE": | |
sqs = study.trials[j].values[0] | |
print("\tTrial " + str(j) + " has state " + state + " and SQS " + str(sqs)) | |
else: | |
print("\tTrial " + str(j) + " has state " + state) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment