# Path: epac/version.py
# SATIVA_BUILD="v0.9-60-g8c31962"
# 
# SATIVA_RELEASE_DATE="2021-01-04"
# 
# SATIVA_RAXML_VER="8.2.3"


import os
import sys
import glob
import shutil
import datetime
import time
import logging
import random
import multiprocessing
import configparser
from epac.version import SATIVA_BUILD,SATIVA_RELEASE_DATE,SATIVA_RAXML_VER
class EpacClassifierConfig(EpacConfig):

    def __init__(self, args=None):
        EpacConfig.__init__(self, args)
        
        self.check_novelty = False

        if args:
            self.taxassign_method = args.taxassign_method
            self.min_lhw = args.min_lhw
            self.brlen_pv = args.brlen_pv
        else:
            self.taxassign_method = "1"
            self.min_lhw = 0.
            self.brlen_pv = 0.

class SativaConfig(EpacTrainerConfig):
    
    def __init__(self, args):
        args.no_hmmer = True
        args.dup_rank_names = "ignore"
        args.wrong_rank_count = "ignore"
        args.taxassign_method = "1"

        EpacTrainerConfig.__init__(self, args)

        self.taxassign_method = args.taxassign_method
        self.min_lhw = args.min_lhw
        self.brlen_pv = args.brlen_pv
        self.ranktest = args.ranktest

# Path: epac/version.py
# SATIVA_BUILD="v0.9-60-g8c31962"
# 
# SATIVA_RELEASE_DATE="2021-01-04"
# 
# SATIVA_RAXML_VER="8.2.3"


# Path: epac/config.py
import os
import sys
import glob
import shutil
import datetime
import time
import logging
import random
import multiprocessing
import configparser
from epac.version import SATIVA_BUILD,SATIVA_RELEASE_DATE,SATIVA_RAXML_VER

class EpacClassifierConfig(EpacConfig):

    def __init__(self, args=None):
        EpacConfig.__init__(self, args)
        
        self.check_novelty = False

        if args:
            self.taxassign_method = args.taxassign_method
            self.min_lhw = args.min_lhw
            self.brlen_pv = args.brlen_pv
        else:
            self.taxassign_method = "1"
            self.min_lhw = 0.
            self.brlen_pv = 0.

class SativaConfig(EpacTrainerConfig):
    
    def __init__(self, args):
        args.no_hmmer = True
        args.dup_rank_names = "ignore"
        args.wrong_rank_count = "ignore"
        args.taxassign_method = "1"

        EpacTrainerConfig.__init__(self, args)

        self.taxassign_method = args.taxassign_method
        self.min_lhw = args.min_lhw
        self.brlen_pv = args.brlen_pv
        self.ranktest = args.ranktest

        self.conf_cutoff = args.conf_cutoff