# Path: ship/utils/utilfunctions.py
# def formatFloat(value, no_of_dps, ignore_empty_str=True):
# def checkFileType(file_path, ext):
# def isNumeric(s):
# def encodeStr(value):
# def isString(value):
# def isList(value):
# def arrayToString(self, str_array):
# def findSubstringInList(substr, the_list):
# def findMax(val1, val2):
# def fileExtensionWithoutPeriod(filepath, name_only=False):
# def findWholeWord(w):
# def convertRunOptionsToSEDict(options):
# def getSEResolvedFilename(filename, se_vals):
# def enum(*sequential, **named):
#     def __init__(self):
#     def isEmpty(self):
#     def enqueue(self, item):
#     def dequeue(self):
#     def size(self):
#     def __init__(self, max_size=-1):
#     def isEmpty(self):
#     def add(self, item):
#     def pop(self):
#     def peek(self):
#     def size(self):
# class FileQueue(object):
# class LoadStack(object):


import os
import logging
from ship.utils import utilfunctions as uf
            return ''


    def setAbsolutePath(self, absolute_path, keep_relative_root=False):
        """Sets the absolute path of this object.

        Takes an absolute path and set the file variables in this object with
        it.

        Note:
            This function WILL NOT check that the path exists. If the path used
            to call this function must exist it is the responsibility of the
            caller to check this.

        keep_relative_root variable information:

        If a relative root is not set to None it will be included in any path
        that is returned by this object. i.e. when an absolute path is
        returned by this object it will return:

        path + relativepath + filename + extension

        Args:
            absolute_path (str): the new absolute path to use to set the file
                variables in this object.
            keep_relative_root=False (Bool): if a relative root exists for
                this object it will be set to None unless this variable is
                set to True.         """
        absolute_path = absolute_path.strip()
        self.root, filename = os.path.split(absolute_path)

# Path: ship/utils/utilfunctions.py
# def formatFloat(value, no_of_dps, ignore_empty_str=True):
# def checkFileType(file_path, ext):
# def isNumeric(s):
# def encodeStr(value):
# def isString(value):
# def isList(value):
# def arrayToString(self, str_array):
# def findSubstringInList(substr, the_list):
# def findMax(val1, val2):
# def fileExtensionWithoutPeriod(filepath, name_only=False):
# def findWholeWord(w):
# def convertRunOptionsToSEDict(options):
# def getSEResolvedFilename(filename, se_vals):
# def enum(*sequential, **named):
#     def __init__(self):
#     def isEmpty(self):
#     def enqueue(self, item):
#     def dequeue(self):
#     def size(self):
#     def __init__(self, max_size=-1):
#     def isEmpty(self):
#     def add(self, item):
#     def pop(self):
#     def peek(self):
#     def size(self):
# class FileQueue(object):
# class LoadStack(object):


# Path: ship/utils/filetools.py
import os
import logging
from ship.utils import utilfunctions as uf

            return ''


    def setAbsolutePath(self, absolute_path, keep_relative_root=False):
        """Sets the absolute path of this object.

        Takes an absolute path and set the file variables in this object with
        it.

        Note:
            This function WILL NOT check that the path exists. If the path used
            to call this function must exist it is the responsibility of the
            caller to check this.

        keep_relative_root variable information:

        If a relative root is not set to None it will be included in any path
        that is returned by this object. i.e. when an absolute path is
        returned by this object it will return:

        path + relativepath + filename + extension

        Args:
            absolute_path (str): the new absolute path to use to set the file
                variables in this object.
            keep_relative_root=False (Bool): if a relative root exists for
                this object it will be set to None unless this variable is
                set to True.         """
        absolute_path = absolute_path.strip()
        self.root, filename = os.path.split(absolute_path)

        self.filename, ext = os.path.splitext(filename)