cleaned up gabmap file creation
This commit is contained in:
parent
d299069253
commit
ce3c1e9ed1
File diff suppressed because one or more lines are too long
|
@ -422,7 +422,7 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"cell_type": "code",
|
"cell_type": "code",
|
||||||
"execution_count": 11,
|
"execution_count": 12,
|
||||||
"metadata": {},
|
"metadata": {},
|
||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": [
|
"source": [
|
||||||
|
@ -430,7 +430,7 @@
|
||||||
"counts_example.to_csv('../data/Pronunciation_percentages_example.gabmap.tsv', sep='\\t')\n",
|
"counts_example.to_csv('../data/Pronunciation_percentages_example.gabmap.tsv', sep='\\t')\n",
|
||||||
"centroids_example.to_csv('../data/Centroids_example.gabmap.tsv', sep='\\t', columns=['longitude', 'latitude'])\n",
|
"centroids_example.to_csv('../data/Centroids_example.gabmap.tsv', sep='\\t', columns=['longitude', 'latitude'])\n",
|
||||||
"with open('../data/Gabmap_example.geojson', 'w') as f:\n",
|
"with open('../data/Gabmap_example.geojson', 'w') as f:\n",
|
||||||
" json.dump(regions_simple, f)"
|
" json.dump(regions_simple, f, indent=1)"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue