Spaces:
Sleeping
Sleeping
Commit
·
b17699d
1
Parent(s):
f4cc265
Update code/process_input.py
Browse files- code/process_input.py +0 -2
code/process_input.py
CHANGED
|
@@ -21,8 +21,6 @@ def clean_data(input_set):
|
|
| 21 |
data.columns = ['uniprotID', 'wt', 'pos', 'mut']
|
| 22 |
if initial_len != len(data):
|
| 23 |
st.write(f'{initial_len- len(data)} of {initial_len} datapoints is omitted. Check your input.')
|
| 24 |
-
for i in input_set:
|
| 25 |
-
|
| 26 |
elif '-' in input_set:
|
| 27 |
data = data.append(pd.Series([j.strip() for j in input_set.split('-')]), ignore_index=True)
|
| 28 |
data.columns = ['uniprotID', 'wt', 'pos', 'mut']
|
|
|
|
| 21 |
data.columns = ['uniprotID', 'wt', 'pos', 'mut']
|
| 22 |
if initial_len != len(data):
|
| 23 |
st.write(f'{initial_len- len(data)} of {initial_len} datapoints is omitted. Check your input.')
|
|
|
|
|
|
|
| 24 |
elif '-' in input_set:
|
| 25 |
data = data.append(pd.Series([j.strip() for j in input_set.split('-')]), ignore_index=True)
|
| 26 |
data.columns = ['uniprotID', 'wt', 'pos', 'mut']
|