From 4a04ec49b260ba2fb5c72799e256ef17577a4985 Mon Sep 17 00:00:00 2001 From: Shanrahan16 Date: Fri, 8 Sep 2023 16:47:10 +0100 Subject: [PATCH] #35 tidying up --- checksit/rules/rule_funcs.py | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/checksit/rules/rule_funcs.py b/checksit/rules/rule_funcs.py index 78587a65..c0930d6e 100644 --- a/checksit/rules/rule_funcs.py +++ b/checksit/rules/rule_funcs.py @@ -209,17 +209,6 @@ def title_instrument(value, context, extras=None, label=""): ncas_data = json.loads(n.read()) community_data = json.loads(c.read()) - #print(type(data)) #delete - #descriptn = data.description.map(item,item.description) - - #d = json.loads('./checksit/vocabs/AMF_CVs/2.0.0/AMF_ncas_instrument.json') - - #df = pd.json_normalize(data) - #print(df) #delete - #print(type(df)) #delete - - #if instrument not in data['ncas_instrument'][*]['description']: - #if instrument not in descriptn: if instrument not in ncas_data['ncas_instrument'] and instrument not in community_data['community_instrument']: warnings.append(f"{label} '{instrument}' should be contained one of the instrument controlled vocabulary lists")