Skip to content
This repository has been archived by the owner on Jun 14, 2018. It is now read-only.

Commit

Permalink
added EOF newlines to raw_data and digested_document_collection
Browse files Browse the repository at this point in the history
  • Loading branch information
Reed Youngblood committed Oct 5, 2015
1 parent 7c79bbf commit ee5e40c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion topik/intermediaries/digested_document_collection.py
Expand Up @@ -42,4 +42,3 @@ def persistor(self):
@property
def filter_string(self):
return self.corpus.filter_string

4 changes: 2 additions & 2 deletions topik/intermediaries/raw_data.py
Expand Up @@ -227,7 +227,7 @@ def save(self, filename, saved_data=None):
return super(ElasticSearchCorpus, self).save(filename, saved_data)

def synchronize(self, max_wait, field):
# TODO: change this to a more general condition for wider use?
# TODO: change this to a more general condition for wider use, including read_input
# could just pass in a string condition and then 'while not eval(condition)'
count_not_yet_updated = -1
while count_not_yet_updated != 0:
Expand Down Expand Up @@ -332,4 +332,4 @@ def save(self, filename, saved_data=None):

def load_persisted_corpus(filename):
corpus_dict = Persistor(filename).get_corpus_dict()
return output_formats[corpus_dict['class']](**corpus_dict["saved_data"])
return output_formats[corpus_dict['class']](**corpus_dict["saved_data"])

0 comments on commit ee5e40c

Please sign in to comment.