Skip to content

Instantly share code, notes, and snippets.

@thusal
thusal / geoparse.py
Created June 13, 2017 17:40
GEOparse
# GEOparse download GEO series as SOFT files, and supplementary fiels to use locally
# load as easy to manipulate objects
# prepare dataset for GEO upload
import GEOparse
gse = GEOparse.get_GEO(geo="GSE1563", destdir="./")
# check GEO database for accession ID and download to CWD
# if already downloaded... use to read file into GSE object
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

to prevent the error message

  • symbol not found in flat namespace '_CFRelease'
  • within grpcio library
pip uninstall grpcio
export GRPC_PYTHON_LDFLAGS=" -framework CoreFoundation"
pip install grpcio --no-binary :all:
@thusal
thusal / .DS_Store
Last active October 20, 2023 15:02
login
@thusal
thusal / .DS_Store
Last active October 21, 2023 12:00
earthai
This file has been truncated, but you can view the full file.
{
"items":
[
{"URN":100000,"LA":201.0,"SCHOOLTYPE":"State-funded primary","num_schoolchildren":271,"perc_girls":"46.9%","perc_boys":"53.1%","perc_ehc_pupils":"3.0%","perc_sen_pupils":"21.8%","perc_non_eng_native_speaking_pupils":"53.5%","num_free_school_meals":49.0,"schoolname":"The Aldgate School","town":"London","postcode":"EC3A 5DE","status":"Open","minor_type":"Maintained school","type":"Voluntary aided school","is_primary":1,"is_secondary":0,"gender":"Mixed","religion":"Church of England","admission_policy":"Not applicable","offstead":"Outstanding","offstead_inspection_date":"19-04-2013","latitude":51.5136623325,"longitude":-0.0774858864},{"URN":100008,"LA":202.0,"SCHOOLTYPE":"State-funded primary","num_schoolchildren":350,"perc_girls":"52.9%","perc_boys":"47.1%","perc_ehc_pupils":"3.4%","perc_sen_pupils":"17.4%","perc_non_eng_native_speaking_pupils":"87.4%","num_free_school_meals":193.0,"schoolname":"Argyle Primary School","town":"London","postcode":"WC1H 9EG","status":"Open","