ソースを参照

deleted old script

feature/message_filters
Figg 7ヶ月前
コミット
d07e8435c3
3個のファイルの変更2行の追加12行の削除
  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 ファイルの表示

@@ -1,10 +0,0 @@
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 ファイルの表示

@@ -1,6 +1,6 @@
1 1
 from datetime import datetime
2 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 4
 import million.parse.fb_exports as fb
5 5
 
6 6
 

+ 1
- 1
scripts/read_top.py ファイルの表示

@@ -1,5 +1,5 @@
1 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 3
 import million.parse.fb_exports as fb
4 4
 
5 5
 

読み込み中…
キャンセル
保存