Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
daveih committed Oct 17, 2024
1 parent ceeb1ff commit 2dd9ce8
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/usdm_excel/cross_ref.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ def get_by_id(self, klass, id):
if id_key in self._identifiers:
return self._identifiers[id_key]
else:
self._debug(f"{inspect.stack()[1][3]}")
self._debug(f"Failed to find by id: klass={self._klass_name(klass)}, id={id}, key={id_key}:\n\n{'':<9}identifiers={self._identifiers.keys()}")
return None

Expand Down
2 changes: 1 addition & 1 deletion tests/integration_test_files/full_1.json
Original file line number Diff line number Diff line change
Expand Up @@ -3644,7 +3644,7 @@
"organizations": [
{
"id": "Organization_6",
"name": "European Union",
"name": "European Union 1",
"label": "EU EMA PIP Scheme",
"type": {
"id": "Code_61",
Expand Down
Binary file modified tests/integration_test_files/full_1.xlsx
Binary file not shown.
2 changes: 1 addition & 1 deletion tests/integration_test_files/full_1_neo4j_dict.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5839,7 +5839,7 @@ nodes:
identifierScheme: EU
instanceType: Organization
label: EU EMA PIP Scheme
name: European Union
name: European Union 1
uuid: 00000000-0000-4000-8000-000000000435
- id: Organization_1
identifier: CT-GOV
Expand Down
4 changes: 2 additions & 2 deletions tests/test_study_role_sheet.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ def test_create(factory, mocker, globals):
}
expected_1 = ( '{"id": "AP_1", "name": "AP1", "label": "Lable 1", "description": "Desc One", '
'"code": {"id": "C_4", "code": "C25936", "codeSystem": "http://www.cdisc.org", "codeSystemVersion": "2023-12-15", "decode": "Investigator", "instanceType": "Code"}, '
'"appliesToIds": [], "assignedPersons": [], "organizationIds": [], '
'"appliesToIds": [], "assignedPersons": [], "organizationIds": ["O_1"], '
'"masking": {"id": "M_1", "description": "Masking 1", "instanceType": "Masking"}, '
'"instanceType": "StudyRole"}'
)
expected_2 = ( '{"id": "AP_2", "name": "AP2", "label": "L2", "description": "Desc Two", '
'"code": {"id": "C_5", "code": "C70793", "codeSystem": "http://www.cdisc.org", "codeSystemVersion": "2023-12-15", "decode": "Sponsor", "instanceType": "Code"}, '
'"appliesToIds": [], "assignedPersons": [], "organizationIds": [], '
'"appliesToIds": [], "assignedPersons": [], "organizationIds": ["O_2"], '
'"masking": {"id": "M_2", "description": "Masking 2", "instanceType": "Masking"}, '
'"instanceType": "StudyRole"}'
)
Expand Down

0 comments on commit 2dd9ce8

Please sign in to comment.