Skip to content

Commit

Permalink
fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
luizirber committed Dec 19, 2021
1 parent be539bd commit 829b58e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sourmash/index/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ def save(self, path):
@classmethod
def load(cls, location, traverse_yield_all=False, use_manifest=True):
"Class method to load a zipfile."
from .sbt_storage import ZipStorage
from ..sbt_storage import ZipStorage
storage = ZipStorage(location)
return cls(storage, traverse_yield_all=traverse_yield_all,
use_manifest=use_manifest)
Expand Down Expand Up @@ -911,7 +911,7 @@ def load_from_directory(cls, pathname, *, force=False):
load all files ending in .sig or .sig.gz, by default; if 'force' is
True, will attempt to load _all_ files, ignoring errors.
"""
from .sourmash_args import traverse_find_sigs
from ..sourmash_args import traverse_find_sigs

if not os.path.isdir(pathname):
raise ValueError(f"'{pathname}' must be a directory.")
Expand Down

0 comments on commit 829b58e

Please sign in to comment.