changeset 16:541e3c97c240

Mothur - fix set_meta for SffFlow in datatypes/metagenomics.py
author Jim Johnson <jj@umn.edu>
date Fri, 09 Dec 2011 12:12:16 -0600
parents a6189f58fedb
children 57df76d861e4
files mothur/lib/galaxy/datatypes/metagenomics.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mothur/lib/galaxy/datatypes/metagenomics.py	Tue Nov 08 11:45:32 2011 -0600
+++ b/mothur/lib/galaxy/datatypes/metagenomics.py	Fri Dec 09 12:12:16 2011 -0600
@@ -1005,7 +1005,7 @@
     def set_meta( self, dataset, overwrite = True, skip = 1, max_data_lines = None, **kwd ):
         Tabular.set_meta(self, dataset, overwrite, 1, max_data_lines)
         try:
-            fh = open( filename )
+            fh = open( dataset.file_name )
             line = fh.readline()
             line = line.strip()
             flow_values = int(line)