Skip to content

Commit

Permalink
resolves #250
Browse files Browse the repository at this point in the history
  • Loading branch information
thanasions committed Apr 30, 2019
1 parent 3f4b10c commit c9fc24a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/documents_filter.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ def __filter_cpc(df, cpc):
total=df.shape[0]):
cpc_list = row['classifications_cpc']
for cpc_item in cpc_list:
if not isinstance(cpc_list, list):
continue
if cpc_item.startswith(cpc):
cpc_index_list.append(index)
break
Expand Down

0 comments on commit c9fc24a

Please sign in to comment.