-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Unable to upload images for the report when calling ipr_report.
To Reproduce
Steps to reproduce the behavior:
- Run command
ipr_report - with input:
{
"patientId": "Faruq-Test-Build-Report",
"kbDiseaseMatch": "colorectal cancer",
"project": "TEST",
"template": "genomic",
"ageOfConsent": 35,
"alternateIdentifier": "fhir-patiet-id-here",
"biopsyDate": "2021-06-04T16:36:37.279Z",
"biopsyName": "colon",
"ploidy": "diploid",
"presentationDate": "2021-06-04T16:36:37.279Z",
"subtyping": "adenocarcinoma",
"images": [
{
"key": "mutationBurden.density_snv.primary",
"path": "/absolute/path/to/pori_suite/mutationBurden.density_snv.primary.png",
"title": "Mock Data",
"caption": "Mock Data"
}
}
- See error (unnecessary details omitted):
{'error': {'message': 'Error processing report image mutationBurden.density_snv.primary.png Error: Input file is missing: /home/bit/Playground/xnalabs/pori_suite/mutationBurden.density_snv.primary.png'}}
Expected behaviour
I expected that the image would be successfully uploaded. I see that function post_images never actually called besides in test cases.
Versions (please complete the following information):
- OS: Windows 11, WSL 2, Ubuntu 22.04.4 LTS.
- Python: 3.11.9
- Version: pori_python==0.1.2
- GraphKB URL: local
- IPR URL: local
Additional context
I tried to construct a complete JSON for ipr_report that will produce a complete report in each section.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working