]> git.donarmstrong.com Git - mothur.git/blobdiff - heatmapcommand.cpp
added sets to amova and homova commands. added oligos to make.contigs. added metadat...
[mothur.git] / heatmapcommand.cpp
index d160525c70174131e8d32ac9803f5bcc756cb80f..441eaf8a4dc4e77beb36c7e39c102f9aa13f0d53 100644 (file)
@@ -173,27 +173,27 @@ HeatMapCommand::HeatMapCommand(string option) {
                        
                        //check for required parameters
                        listfile = validParameter.validFile(parameters, "list", true);
-                       if (listfile == "not open") { listfile = ""; abort = true; }
+                       if (listfile == "not open") { abort = true; }
                        else if (listfile == "not found") { listfile = ""; }
                        else {  format = "list"; inputfile = listfile; m->setListFile(listfile); }
                        
                        sabundfile = validParameter.validFile(parameters, "sabund", true);
-                       if (sabundfile == "not open") { sabundfile = ""; abort = true; }        
+                       if (sabundfile == "not open") {  abort = true; }        
                        else if (sabundfile == "not found") { sabundfile = ""; }
                        else {  format = "sabund"; inputfile = sabundfile; m->setSabundFile(sabundfile); }
                        
                        rabundfile = validParameter.validFile(parameters, "rabund", true);
-                       if (rabundfile == "not open") { rabundfile = ""; abort = true; }        
+                       if (rabundfile == "not open") {  abort = true; }        
                        else if (rabundfile == "not found") { rabundfile = ""; }
                        else {  format = "rabund"; inputfile = rabundfile; m->setRabundFile(rabundfile); }
                        
                        sharedfile = validParameter.validFile(parameters, "shared", true);
-                       if (sharedfile == "not open") { sharedfile = ""; abort = true; }        
+                       if (sharedfile == "not open") { abort = true; } 
                        else if (sharedfile == "not found") { sharedfile = ""; }
                        else {  format = "sharedfile"; inputfile = sharedfile; m->setSharedFile(sharedfile); }
                        
                        relabundfile = validParameter.validFile(parameters, "relabund", true);
-                       if (relabundfile == "not open") { relabundfile = ""; abort = true; }    
+                       if (relabundfile == "not open") {  abort = true; }      
                        else if (relabundfile == "not found") { relabundfile = ""; }
                        else {  format = "relabund"; inputfile = relabundfile; m->setRelAbundFile(relabundfile); }