Skip to content

Commit

Permalink
Fix import error...
Browse files Browse the repository at this point in the history
  • Loading branch information
luizirber committed Jan 20, 2017
1 parent a80d8a3 commit 28c11a3
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions sourmash_lib/sbtmh.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
from __future__ import print_function
from __future__ import division

import os

from .sbt import Leaf
from . import Estimators

Expand All @@ -17,13 +15,9 @@ def save(self, filename):

# this is here only for triggering the property load
# before we reopen the file (and overwrite the previous
# content) ...
# content...)
self.data

if filename == self._filename and os.exists(filename):
# TODO: file already exists, do we want to overwrite?
return

with open(filename, 'w') as fp:
signature.save_signatures([self.data], fp)

Expand Down

0 comments on commit 28c11a3

Please sign in to comment.