Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update ingest for VIDRL flat files #164

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
read_flat_vidrl: Update column map
Update column map based on `0906.xlsx_H1_flat_file.csv` in comparison
to the matching Excel file `20240906\ H1N1.xlsx` available on
VIDRL's OneDrive.
  • Loading branch information
joverlee521 committed Nov 19, 2024
commit 3ac788f451c99c5ae4c41d2379e471475dd2ec99
10 changes: 5 additions & 5 deletions tdb/vidrl_upload.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,12 +314,12 @@ def read_flat_vidrl(path, fstem, assay_type):
# The new column names need to be one of the ELIFE_COLUMNS in order to be
# included in the temporary output file that's then passed to elife_upload.py
column_map = {
"virus": "virus_strain",
"virus.passage": "virus_passage",
"antisera.passage": "serum_passage",
"test virus": "virus_strain",
"test virus passage": "virus_passage",
"reference antigen": "serum_strain",
"antisera passage": "serum_passage",
"ferret": "serum_id",
"value": "titer",
"antisera.name": "serum_strain"
"titre": "titer",
}
filepath = path + fstem + ".csv"

Expand Down