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

String field filled with numbers, gives error #237

Closed
svarona opened this issue Oct 2, 2023 · 1 comment
Closed

String field filled with numbers, gives error #237

svarona opened this issue Oct 2, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@svarona
Copy link
Member

svarona commented Oct 2, 2023

Description of the bug

When filling samples table with numeric values, they are being recognized as numbers instead of strings:

[{'patient_core': <PatientCore: 323>, 'sample_name': '34', 'lab_request': 'ISCIII', 'sample_type': 'Blood', 'species': 'Human', 'sample_project': <SampleProjects: surveillance>, 'sample_entry_date': '2023-10-02 00:00:00', 'collection_sample_date': '2023-10-03 00:00:00', 'sample_location': '-80', 'only_recorded': True, 'user': 'admin', 'app_name': 'wetlab', 'sample_code_id': 'admin_34', 'unique_sample_id': 'AAA-0024', 'sample_state': 'Pre-Defined', 'success': True}, {'patient_core': 324, 'sample_name': 35, 'lab_request': 'ISCIII', 'sample_type': 'Blood', 'species': 'Human', 'sample_project': 'surveillance', 'sample_entry_date': '2023-10-03 00:00:00', 'collection_sample_date': '2023-10-04 00:00:00', 'sample_location': -79, 'only_recorded': True}, {'patient_core': 325, 'sample_name': 36, 'lab_request': 'ISCIII', 'sample_type': 'blood2', 'species': 'Human', 'sample_project': 'test-3', 'sample_entry_date': '2023-10-04 00:00:00', 'collection_sample_date': '2023-10-05 00:00:00', 'sample_location': -78, 'only_recorded': False}, {'patient_core': 326, 'sample_name': 37, 'lab_request': 'ISCIII', 'sample_type': 'blood2', 'species': 'Human', 'sample_project': 'test-3', 'sample_entry_date': '2023-10-05 00:00:00', 'collection_sample_date': '2023-10-06 00:00:00', 'sample_location': -77, 'only_recorded': False}, {'patient_core': 327, 'sample_name': 38, 'lab_request': 'ISCIII', 'sample_type': 'Blood', 'species': 'Human', 'sample_project': 'surveillance', 'sample_entry_date': '2023-10-06 00:00:00', 'collection_sample_date': '2023-10-07 00:00:00', 'sample_location': -76, 'only_recorded': True}]

Command used and terminal output

No response

Relevant files

No response

System information

No response

@svarona svarona added the bug Something isn't working label Oct 2, 2023
@luissian luissian self-assigned this Oct 2, 2023
@luissian
Copy link
Member

luissian commented Oct 4, 2023

fixed issue in PR #238

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants