From 20e68697eb674f13df6c66e2d954aaa6bee5c03e Mon Sep 17 00:00:00 2001 From: Alessandro Frigeri <alessandro.frigeri@inaf.it> Date: Thu, 27 Jun 2019 16:53:10 +0200 Subject: [PATCH] updated core --- moondb/core.py | 31 +------------------------------ 1 file changed, 1 insertion(+), 30 deletions(-) diff --git a/moondb/core.py b/moondb/core.py index 9272b71..67bc120 100644 --- a/moondb/core.py +++ b/moondb/core.py @@ -396,37 +396,8 @@ class AnalysisFilter: if __name__ == "__main__": m = get_missions() - f = AnalysisFilter() - 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] + print(m) - 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) -- GitLab