diff options
author | Frederick Muriuki Muriithi | 2024-09-25 12:10:38 -0500 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2024-09-25 12:11:58 -0500 |
commit | 0c8642d08f88d2dcf8e82a7b58c9922e01c20102 (patch) | |
tree | 580f74ec32cb331b638b87eac3efbad94be8b38a /uploader/platforms/models.py | |
parent | 4c9470646627a7b8d454d87984016cfa6c53059c (diff) | |
download | gn-uploader-0c8642d08f88d2dcf8e82a7b58c9922e01c20102.tar.gz |
Lint: Fix myriad of linting issues
Diffstat (limited to 'uploader/platforms/models.py')
-rw-r--r-- | uploader/platforms/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uploader/platforms/models.py b/uploader/platforms/models.py index 199f2df..a859371 100644 --- a/uploader/platforms/models.py +++ b/uploader/platforms/models.py @@ -49,7 +49,7 @@ def platform_by_species_and_id( with conn.cursor(cursorclass=DictCursor) as cursor: cursor.execute("SELECT * FROM GeneChip WHERE SpeciesId=%s AND Id=%s", (species_id, platformid)) - result = cursor.fetchone() + result = cursor.fetchone()#pylint: disable=[duplicate-code] if bool(result): return dict(result) |