import Aggregate
import Binning
import Concurrently
import ConcurrentlySP
import Configure
import Events
import HeppyResult
import Loop
import ProgressBar
import Summary
from Combine import Combine
from CombineIntoList import CombineIntoList, countsToList, combinedToList
from WriteListToFile import WriteListToFile
import Loop
import ProgressBar
import Aggregate
import Concurrently
from mkdir_p import mkdir_p
from listToAlignedText import listToAlignedText

##__________________________________________________________________||
hasPandas = False
try:
    import pandas
    hasPandas = True
except ImportError:
    pass

if hasPandas:
    from CombineIntoPandasDataFrame import CombineIntoPandasDataFrame
    from WritePandasDataFrameToFile import WritePandasDataFrameToFile

##__________________________________________________________________||
import logging
logger = logging.getLogger(__name__)
logger.setLevel(logging.ERROR) # DEBUG INFO WARN ERROR CRITICAL
log_handler = logging.StreamHandler()
log_formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
log_handler.setFormatter(log_formatter)
logger.addHandler(log_handler)

##__________________________________________________________________||

import Aggregate
import Binning
import Concurrently
import Configure
import Events
import HeppyResult
import Loop
import ProgressBar
import Summary
from Combine import Combine
from CombineIntoList import CombineIntoList, countsToList, combinedToList
from WriteListToFile import WriteListToFile
import Loop
import ProgressBar
import Aggregate
import Concurrently
from mkdir_p import mkdir_p
from listToAlignedText import listToAlignedText

##__________________________________________________________________||
hasPandas = False
try:
    import pandas
    hasPandas = True
except ImportError:
    pass

if hasPandas:
    from CombineIntoPandasDataFrame import CombineIntoPandasDataFrame
    from WritePandasDataFrameToFile import WritePandasDataFrameToFile

##__________________________________________________________________||
import logging
logger = logging.getLogger(__name__)
logger.setLevel(logging.ERROR) # DEBUG INFO WARN ERROR CRITICAL
log_handler = logging.StreamHandler()
log_formatter = logging.Formatter('%(asctime)s - %(name)s - %(levelname)s - %(message)s')
log_handler.setFormatter(log_formatter)
logger.addHandler(log_handler)

##__________________________________________________________________||

update import