Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Commit

Permalink
Removed search vector text from function that gets data model headings.
Browse files Browse the repository at this point in the history
  • Loading branch information
kjod committed Dec 15, 2017
1 parent 5e26b49 commit 2a7bab2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion ZOOM/lib/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ def get_headings_data_model(df_file):
#skip first four headings as irrelevant to user input, should use filter for this
print((time.strftime("%H:%M:%S")))

data_model_headings = data_model_headings[4:len(data_model_headings)]
data_model_headings = data_model_headings[4:len(data_model_headings)]
data_model_headings = filter(lambda x: "search_vector_text" != x, data_model_headings)
remaining_mapping = data_model_headings
zip_list = zip(file_heading_list, dtypes_list, validation_results)
summary_results = file_heading_list##change this to add hover for file heading
Expand Down
1 change: 0 additions & 1 deletion ZOOM/manual_mapping/manual_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,6 @@ def save_datapoints(df_data, index_order, reverse_mapping, dicts):
ind_dict[i].count = IndicatorDatapoint.objects.filter(indicator=(ind_dict[i])).count()
ind_dict[i].file_source = file_source
ind_dict[i].save()
x.all()

'''Remaps all files that have been mapped'''
def remap_all_files():
Expand Down

0 comments on commit 2a7bab2

Please sign in to comment.