<gh_stars>0
#! /usr/bin/env python
# -*- coding: utf-8 -*-

"""
Base class that defines Artella Shot for Solstice
"""

from __future__ import print_function, division, absolute_import

__author__ = "<NAME>"
__license__ = "MIT"
__maintainer__ = "<NAME>"
__email__ = "<EMAIL>"

import logging

import artellapipe.register
from artellapipe.core import defines, sequence

LOGGER = logging.getLogger()


class SolsticeSequence(sequence.ArtellaSequence, object):
    def __init__(self, project, sequence_data):

        self._name_dict = dict()

        super(SolsticeSequence, self).__init__(project=project, sequence_data=sequence_data)

    def open_master_layout(self):
        """
        Function that opens mater layout file of this sequence in current DCC
        :return: bool
        """

        file_type = self.get_file_type('master')
        if not file_type:
            return False

        valid_open = file_type.open_file(status=defines.ArtellaFileStatus.WORKING)

        return valid_open


artellapipe.register.register_class('Sequence', SolsticeSequence)

#! /usr/bin/env python
# -*- coding: utf-8 -*-

"""
Base class that defines Artella Shot for Solstice
"""

from __future__ import print_function, division, absolute_import

__author__ = "<NAME>"
__license__ = "MIT"
__maintainer__ = "<NAME>"
__email__ = "<EMAIL>"

import logging

import artellapipe.register
from artellapipe.core import defines, sequence

LOGGER = logging.getLogger()


class SolsticeSequence(sequence.ArtellaSequence, object):
    def __init__(self, project, sequence_data):

        self._name_dict = dict()

        super(SolsticeSequence, self).__init__(project=project, sequence_data=sequence_data)

    def open_master_layout(self):
        """
        Function that opens mater layout file of this sequence in current DCC
        :return: bool
        """

        file_type = self.get_file_type('master')
        if not file_type:
            return False

        valid_open = file_type.open_file(status=defines.ArtellaFileStatus.WORKING)

        return valid_open


artellapipe.register.register_class('Sequence', SolsticeSequence)
#! /usr/bin/env python # -*- coding: utf-8 -*- Base class that defines Artella Shot for Solstice Function that opens mater layout file of this sequence in current DCC         :return: bool