]> git.donarmstrong.com Git - mothur.git/blobdiff - globaldata.cpp
1.18.0 - fixed make.shared abort issue
[mothur.git] / globaldata.cpp
index 74daaa2cc87cea237619fec03afdf28a8095f65f..a0b80ecbbf77ef9e8b95b90b558656148651f9fc 100644 (file)
@@ -1,5 +1,5 @@
 
-
+/*
 #include "globaldata.hpp"
 #include "sharedlistvector.h"
 #include "inputdata.h"
@@ -7,7 +7,7 @@
 
 /*******************************************************/
 
-/******************************************************/
+/******************************************************
 GlobalData* GlobalData::getInstance() {
        if( _uniqueInstance == 0) {
                _uniqueInstance = new GlobalData();
@@ -16,7 +16,7 @@ GlobalData* GlobalData::getInstance() {
 }
 /*******************************************************/
 
-/******************************************************/
+/******************************************************
 // These functions give you the option parameters of the commands
 string GlobalData::getPhylipFile()             {       return phylipfile;              }
 string GlobalData::getColumnFile()             {       return columnfile;              }
@@ -49,7 +49,7 @@ void GlobalData::setFormat(string Format)             {       format = Format;                }
 
 /*******************************************************/
 
-/******************************************************/
+/******************************************************
 GlobalData::GlobalData() {
        m = MothurOut::getInstance();
        //option definitions should go here...
@@ -67,10 +67,11 @@ GlobalData::GlobalData() {
        gTreemap = NULL;
        gSequenceDB = NULL;
        nameMap = NULL;
+       saveNextLabel = "";
 }
 /*******************************************************/
 
-/******************************************************/
+/******************************************************
 void GlobalData::clear() {
        //option definitions should go here...
        phylipfile              =       ""; //do we need this?
@@ -87,12 +88,13 @@ void GlobalData::clear() {
        sharedfile              =       "";
        relAbundfile    =       "";
        format = "";
+       saveNextLabel = "";
 }
 
 
 /*******************************************************/
 
-/******************************************************/
+/******************************************************
 void GlobalData::newRead() {
        try{    
                        //remove old file names
@@ -141,7 +143,7 @@ void GlobalData::newRead() {
 
 //******************************************************/
 
-/******************************************************/
+/*****************************************************
 GlobalData::~GlobalData() {
        _uniqueInstance = 0;
        try {