Skip to content
Snippets Groups Projects
Commit 20e68697 authored by Alessandro Frigeri's avatar Alessandro Frigeri
Browse files

updated core

parent a6742a45
No related branches found
No related tags found
No related merge requests found
...@@ -396,37 +396,8 @@ class AnalysisFilter: ...@@ -396,37 +396,8 @@ class AnalysisFilter:
if __name__ == "__main__": if __name__ == "__main__":
m = get_missions() m = get_missions()
f = AnalysisFilter() print(m)
f.specimenType = ["SOIL"]
f.analyte = ["H2O","Ti"]
f.mission = ["Apollo 11"]
print(80*"#")
#print f.toJSON()
results = f.get_results()
for r in results:
this_res = r['dataResults'][0]
var = this_res['variable']
val = this_res['value']
unit = this_res['unit']
print(var,": ",val,unit)
s = get_specimen(mn=['Apollo 12','Apollo 11'])
print(len(s))
s1 = s[0]
m = get_missions()
ml = []
for mn in m:
ml.append(mn.name)
s = get_specimen(mn=ml)
print(len(s))
s1 = s[0]
#s1.say_hello()
#print(type(s1))
#for sp in s:
# print(sp['specimenName'])
#sp_types = get_specimentypes()
#print(sp_types)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment