Changeset 1682:2e2c671e4300 in orange-bioinformatics for docs/reference-html/obiGO-yeast.py


Ignore:
Timestamp:
06/12/12 11:15:18 (22 months ago)
Author:
Lan Zagar <lan.zagar@…>
Branch:
default
Message:

Replaced split(\n) with splitlines (closes #1160).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/reference-html/obiGO-yeast.py

    r1662 r1682  
    145145 
    146146def proces_david(dav): 
    147     lines = [line.split("\t") for line in dav.split("\n") if line] 
     147    lines = [line.split("\t") for line in dav.splitlines() if line] 
    148148    keys = lines[0] 
    149149    return dict([(line[1].split("~")[0], dict(zip(keys, line))) for line in lines]) 
Note: See TracChangeset for help on using the changeset viewer.