diff --git a/Data_Files/Rao_et_al_2014/fieldsRao_test.xls b/Data_Files/Rao_et_al_2014/fieldsRao_test.xls deleted file mode 100644 index 5fc660cc..00000000 Binary files a/Data_Files/Rao_et_al_2014/fieldsRao_test.xls and /dev/null differ diff --git a/Data_Files/Sanborn_et_al_2015/Sanborn_2015_metadata_170202.xls b/Data_Files/Sanborn_et_al_2015/Sanborn_2015_metadata_170202.xls new file mode 100644 index 00000000..9dc8c3bc Binary files /dev/null and b/Data_Files/Sanborn_et_al_2015/Sanborn_2015_metadata_170202.xls differ diff --git a/wranglertools/import_data.py b/wranglertools/import_data.py index 35b13772..84ff0563 100755 --- a/wranglertools/import_data.py +++ b/wranglertools/import_data.py @@ -369,7 +369,9 @@ def populate_post_json(post_json, connection, sheet): if post_json.get('aliases') and existing_data.get('aliases'): aliases_to_post = list(set(filter(None, post_json.get('aliases') + existing_data.get('aliases')))) post_json["aliases"] = aliases_to_post - + # delete calculated property + if post_json.get('@id'): + del post_json['@id'] # should I upload files as well? file_to_upload = False filename_to_post = post_json.get('filename')