From aacf71fad8ff80fbd423412d0496cdc73fb30e0a Mon Sep 17 00:00:00 2001 From: wea_ondara Date: Tue, 30 Jul 2019 12:02:54 +0200 Subject: [PATCH] wip --- calctoxdiff.py | 4 ++-- run.sh | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100755 run.sh diff --git a/calctoxdiff.py b/calctoxdiff.py index 82e606e..18efd14 100644 --- a/calctoxdiff.py +++ b/calctoxdiff.py @@ -23,8 +23,8 @@ def main(folder): onlyfiles = [srcfolder + f for f in listdir(srcfolder) if isfile(join(srcfolder, f)) and f.endswith(".py") and "newusers" in f] onlyfiles = sorted(onlyfiles) - # plotbypost(onlyfiles, outputdir) - # plotbydate(onlyfiles, outputdir) + plotbypost(onlyfiles, outputdir) + plotbydate(onlyfiles, outputdir) oldfiles = [srcfolder + f for f in listdir(srcfolder) if isfile(join(srcfolder, f)) and f.endswith(".py") and "oldusers" in f] oldfiles = sorted(oldfiles) diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..16fb6c5 --- /dev/null +++ b/run.sh @@ -0,0 +1,4 @@ +python3 analyze_batch.py $1 +python3 calctoxdiff.py $1 +python3 posthist.py $1 +