Skip to content

Commit

Permalink
fixed mistake where patient_id not being populated
Browse files Browse the repository at this point in the history
  • Loading branch information
pgm committed Jan 17, 2025
1 parent 4cf2e34 commit e6700ac
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions portal-backend/loader/depmap_model_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def insert_cell_lines(df):
public_comments = _coerce_na(row["PublicComments"])
age_category = _coerce_na(row["AgeCategory"])
ccle_name = _coerce_na(row["CCLEName"])
patient_id = _coerce_na(row["PatientID"])

json_encoded_metadata = json.dumps({k: _coerce_na(v) for k, v in row.items()})

Expand Down
1 change: 0 additions & 1 deletion portal-backend/pyright-ratchet-errors.txt
Original file line number Diff line number Diff line change
Expand Up @@ -573,7 +573,6 @@ test_views.py: error: "__getitem__" method not defined on type "LazyAttribute" (
test_views.py: error: "__getitem__" method not defined on type "Sequence" (reportIndexIssue)
test_views.py: error: "display_name" is not a known member of "None" (reportOptionalMemberAccess)
test_views.py: error: Argument of type "Sequence" cannot be assigned to parameter "feature" of type "str | int" in function "get_id_from_dataset_feature"
test_views.py: error: Argument of type "dict[Sequence, float]" cannot be assigned to parameter "src_dict" of type "Dict[str, Any]" in function "from_dict"
test_views.py: error: Argument of type "str" cannot be assigned to parameter "__value" of type "int" in function "index"
test_views.py: error: Cannot access member "entity_id" for type "CompoundDoseFactory"
test_views.py: error: Cannot access member "entity_id" for type "CompoundDoseReplicateFactory"
Expand Down

0 comments on commit e6700ac

Please sign in to comment.