(para, logname)
| 123 | |
| 124 | |
| 125 | def extract_command(para, logname): |
| 126 | support = para["support"] |
| 127 | parajTF = para["para_j"] |
| 128 | input = "" |
| 129 | |
| 130 | if parajTF: |
| 131 | input = ( |
| 132 | "./src/slct -j -o " |
| 133 | + "slct_outliers.log -r -s " |
| 134 | + str(support) |
| 135 | + " " |
| 136 | + logname |
| 137 | ) |
| 138 | else: |
| 139 | input = ( |
| 140 | "./src/slct -o " + "slct_outliers.log -r -s " + str(support) + " " + logname |
| 141 | ) |
| 142 | return input |
| 143 | |
| 144 | |
| 145 | def log_to_dataframe(log_file, regex, headers, logformat): |