Skip to content

Commit

Permalink
fix variable update gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
franasal committed Aug 1, 2022
1 parent 9103e05 commit a8558ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@
__pycache__
*.DS_Store
venv/
substances_updated.json
2 changes: 1 addition & 1 deletion update_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

# Dose dataframe
dose_dfor = pd.DataFrame.from_dict(y[dose_oral]).rename(columns={subst: 'Oral'})
dose_dfor.index = dose_df.index.str.replace('Dosierung Oral ', '')
dose_dfor.index = dose_dfor.index.str.replace('Dosierung Oral ', '')
dose_dfnas = pd.DataFrame.from_dict(y[dose_nasal]).rename(columns={subst: 'Nasal'})
dose_dfnas.index = dose_dfnas.index.str.replace('Dosierung Nasal ', '')

Expand Down

0 comments on commit a8558ed

Please sign in to comment.