Changeset 1807:666d56b81a52 in orange-bioinformatics for _bioinformatics/obiGeneSets.py


Ignore:
Timestamp:
05/24/13 14:10:21 (11 months ago)
Author:
Flashpoint <vid.flashpoint@…>
Branch:
default
Message:

The OWtest.py prototype widget for custom gene sets now correctly imports and deletes the genesets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _bioinformatics/obiGeneSets.py

    r1805 r1807  
    1010import cPickle as pickle, os, tempfile, sys 
    1111from collections import defaultdict 
     12import datetime 
    1213 
    1314import Orange.core as orange 
     
    232233            setBgone = os.path.join(pth, setfile) 
    233234            os.remove(setBgone)  
     235 
     236def modification_date(file): 
     237    t = os.path.getmtime(file) 
     238    return datetime.datetime.fromtimestamp(t) 
    234239 
    235240def list_serverfiles_from_flist(flist): 
Note: See TracChangeset for help on using the changeset viewer.