Source

orange-bioinformatics / docs / rst / reference / code / geo_gds4.py

Full commit
1
2
3
4
5
6
7
8
9
import Orange
import glob
import re

filenames = glob.glob(Orange.utils.serverfiles.localpath("GEO") + "/GDS*.soft.gz")
m = re.compile("(GDS[0-9]*).soft")
print "%d data files cached:" % len(filenames)
print " ".join([m.search(fn).group(1) for fn in filenames])