# Path: cuburn/code/util.py
# def crep(s):
#     """Multiline literal escape for inline PTX assembly."""
#     if isinstance(s, unicode):
#         s = s.encode('utf-8')
#     return '"%s"' % s.encode("string_escape")


import base64
import numpy as np
import spectypes
from hashlib import sha1
from cuburn.code.util import crep


def get(dct, default, *keys):
    if len(keys) == 1:
        keys = keys[0].split('.')

# Path: cuburn/code/util.py
# def crep(s):
#     """Multiline literal escape for inline PTX assembly."""
#     if isinstance(s, unicode):
#         s = s.encode('utf-8')
#     return '"%s"' % s.encode("string_escape")


# Path: cuburn/genome/util.py
import base64
import numpy as np
import spectypes
from hashlib import sha1
from cuburn.code.util import crep



def get(dct, default, *keys):
    if len(keys) == 1:
        keys = keys[0].split('.')

    for k in keys: