-
Notifications
You must be signed in to change notification settings - Fork 0
/
run.py
46 lines (36 loc) · 878 Bytes
/
run.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import os
from pathlib import Path
import pandas as pd
import assay_processing
'''
corrections = {
"2023_03_29-Plate 1":
{
"CytC-E9": 'lambda t: ~((t > 50) & (t < 100))'
},
"2023_03_29-Plate 1":
{
"CytC-E9": 'lambda t: ~((t > 50) & (t < 100))'
"CytC-E9": 'lambda t: ~((t > 50) & (t < 100))'
"CytC-E9": 'lambda t: ~((t > 50) & (t < 100))'
},
}
'''
corrections = {
"P228L": {
"2023_03_29-Plate 1": {
"CytC-A2": 'lambda t: ~((t < 40) | ((t > 75) & (t < 125)))'
}
},
"R268W": {
},
"WT": {
},
"Sorghum": {
},
}
file_path = Path(r"data")
# file_path = Path(r"/Users/amfaber/Downloads/Results (R268W)")
for key, correct in corrections.items():
df = assay_processing.batch(file_path / key, correct)
assay_processing.plot_final(df, file_path / key)