]> code.communitydata.science - cdsc_reddit.git/commitdiff
rename tf_reddit_comments.py step1.
authorNate E TeBlunthuis <nathante@n2232.hyak.local>
Tue, 4 Aug 2020 20:39:20 +0000 (13:39 -0700)
committerNate E TeBlunthuis <nathante@n2232.hyak.local>
Tue, 4 Aug 2020 20:39:20 +0000 (13:39 -0700)
tf_reddit_comments.py

index 3596062f318a1acc458a50d49a7e6b25cf55400a..85eebecc5d6ceed9482b13241d3420ae61d4bfe5 100644 (file)
@@ -171,7 +171,7 @@ def gen_task_list():
     with open("tf_task_list",'w') as outfile:
         for f in files:
             if f.endswith(".parquet"):
     with open("tf_task_list",'w') as outfile:
         for f in files:
             if f.endswith(".parquet"):
-                outfile.write(f"python3 tf_reddit_comments.py weekly_tf {f}\n")
+                outfile.write(f"source python3 tf_comments.py weekly_tf {f}\n")
 
 if __name__ == "__main__":
     fire.Fire({"gen_task_list":gen_task_list,
 
 if __name__ == "__main__":
     fire.Fire({"gen_task_list":gen_task_list,

Community Data Science Collective || Want to submit a patch?