Skip to content
Snippets Groups Projects
Commit e42165c5 authored by Christopher Randolph Rhodes's avatar Christopher Randolph Rhodes
Browse files

Corrected import that was causing issues in built package

parent 27adba1b
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ from typing import Union
import pandas as pd
import conf.defaults
from ..conf import defaults
from .models import Model
logger = logging.getLogger(__name__)
......@@ -89,13 +89,13 @@ class _Session(object):
:return: dictionary of session paths
"""
if root is None:
root_path = Path(conf.defaults.root)
root_path = Path(defaults.root)
else:
root_path = Path(root)
sid = _Session.create_session_id(root_path)
paths = {'root': root_path}
for pk in ['inbound_images', 'outbound_images', 'logs', 'tables']:
pa = root_path / sid / conf.defaults.subdirectories[pk]
pa = root_path / sid / defaults.subdirectories[pk]
paths[pk] = pa
try:
pa.mkdir(parents=True, exist_ok=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment