~ubuntu-branches/ubuntu/trusty/qiime/trusty

« back to all changes in this revision

Viewing changes to qiime/make_otu_heatmap.py

  • Committer: Package Import Robot
  • Author(s): Andreas Tille
  • Date: 2013-06-17 18:28:26 UTC
  • mfrom: (9.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20130617182826-376az5ad080a0sfe
Tags: 1.7.0+dfsg-1
Upload preparations done for BioLinux to Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
__copyright__ = "Copyright 2011, The QIIME project"
8
8
__credits__ = ["Dan Knights"]
9
9
__license__ = "GPL"
10
 
__version__ = "1.5.0"
 
10
__version__ = "1.7.0"
11
11
__maintainer__ = "Dan Knights"
12
12
__email__ = "daniel.knights@colorado.edu"
13
13
__status__ = "Release"
42
42
    new_map = []
43
43
    for sam_id in map_sample_ids:
44
44
        if sam_id in shared_ids:
45
 
            ix = map_sample_ids.index(id)
 
45
            ix = map_sample_ids.index(sam_id)
46
46
            new_map.append(map_rows[ix])
47
47
    
48
48
    return new_map, otu_table