Browse Source

deleted old script

feature/message_filters
Figg 9 months ago
parent
commit
d07e8435c3
3 changed files with 2 additions and 12 deletions
  1. 0
    10
      million/analyze/retain_counts.py
  2. 1
    1
      scripts/find_holes.py
  3. 1
    1
      scripts/read_top.py

+ 0
- 10
million/analyze/retain_counts.py View File

1
-from typing import List
2
-from million.model.message import Message
3
-import million.analyze.message_evaluation as msg_val
4
-
5
-
6
-def retain_counts(messages : List[Message])-> List[Message]:
7
-    """
8
-    Retain only the messages that have a counted value
9
-    """
10
-    return [msg for msg in messages if msg_val.get(msg)]

+ 1
- 1
scripts/find_holes.py View File

1
 from datetime import datetime
1
 from datetime import datetime
2
 import million.analyze.find_holes as fh
2
 import million.analyze.find_holes as fh
3
-from million.analyze.retain_counts import retain_counts
3
+from million.analyze.word_finder import retain_counts
4
 import million.parse.fb_exports as fb
4
 import million.parse.fb_exports as fb
5
 
5
 
6
 
6
 

+ 1
- 1
scripts/read_top.py View File

1
 from million.analyze.count_participations import count_participations
1
 from million.analyze.count_participations import count_participations
2
-from million.analyze.retain_counts import retain_counts
2
+from million.analyze.word_finder import retain_counts
3
 import million.parse.fb_exports as fb
3
 import million.parse.fb_exports as fb
4
 
4
 
5
 
5
 

Loading…
Cancel
Save