Skip to content

Commit

Permalink
Remove NA drug from Teicher data (converter)
Browse files Browse the repository at this point in the history
  • Loading branch information
alubbock committed Dec 22, 2018
1 parent 7ef154d commit ce6c35a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thunor/converters/teicher.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def import_teicher(directory):
df['cell.line'] = df['cell.line'].str.replace(' ', '')
df['cell.line'] = df['cell.line'].str.strip()
df['drug'] = df['drug'].str.strip()
df = df.loc[df['drug'] != '', :]
df = df[~df['drug'].isna()]

df['concentration'] = [(d,) for d in df['concentration'].values]
df['drug'] = [(d,) for d in df['drug'].values]
Expand Down

0 comments on commit ce6c35a

Please sign in to comment.