Commit 79c0d274 authored by Marcel Henrik Schubert's avatar Marcel Henrik Schubert
Browse files

fixed zero tweeter error

parent 78504446
......@@ -169,7 +169,7 @@ if not os.path.exists(direct+subdir+'/'+'split_data'+'/{}_{}_{}_test.json'.forma
print('The authors are in counter mode: {}'.format(list(collections.Counter(author_id).most_common())[-1]))
if subfolder != 'min_tweet_1000':
if subfolder != 'min_tweets_1000':
strat, indices = remove_one_tweeter(author_id, indices)
print('The authors after one_tweeter removal are in counter mode: {}'.format(list(collections.Counter(strat).most_common())[-1]))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment