File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ def print_fields(key, val):
122122 if "length" not in val :
123123 val ["length" ] = "1"
124124 for idx in range (len (val ["vcf_field_class" ])):
125- field_val = val ["vcf_field_class" ][idx ]
125+ field_class = val ["vcf_field_class" ][idx ]
126126 if isinstance (val ["type" ], list ):
127127 if idx < len (val ["type" ]):
128128 field_type = val ["type" ][idx ]
@@ -148,7 +148,7 @@ def print_fields(key, val):
148148 field_type = "String"
149149 else :
150150 field_type = "Char"
151- print (f"{ key :<20} { field_val :10} { field_type :10} { field_length } " )
151+ print (f"{ key :<20} { field_class :10} { field_type :10} { field_length } " )
152152
153153
154154def parse_vidmap_json_and_print_fields (vidmap_file ):
@@ -171,7 +171,7 @@ def parse_vidmap_json_and_print_fields(vidmap_file):
171171 }
172172 print ("--" )
173173 print ("Abbreviations : " )
174- {print (f" { k } : { v } " ) for k , v in abbreviations .items ()}
174+ {print (f" { key } : { val } " ) for key , val in abbreviations .items ()}
175175
176176
177177def parse_vidmap_json_for_attributes (vidmap_file , attributes = None ):
You can’t perform that action at this time.
0 commit comments