From 19f2e8bdbc2a5bb30467b8744ad18ea7eb385467 Mon Sep 17 00:00:00 2001 From: Vedanth Date: Mon, 24 Jun 2024 13:13:54 +0530 Subject: [PATCH] ENH use single quotes inside double quotes in get_aro_mapping_table() rather than single quotes within single quotes --- argnorm/lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/argnorm/lib.py b/argnorm/lib.py index af506fc..07fcb16 100644 --- a/argnorm/lib.py +++ b/argnorm/lib.py @@ -53,7 +53,7 @@ def get_aro_mapping_table(database): aro_mapping_table.drop(index=set(manual_curation.index) & set(aro_mapping_table.index), inplace=True) aro_mapping_table = pd.concat([aro_mapping_table, manual_curation]) aro_number_length = 7 - aro_mapping_table['ARO'] = aro_mapping_table['ARO'].map(lambda a: f'ARO:{str(a).zfill(aro_number_length).removesuffix('.0')}', na_action='ignore') + aro_mapping_table['ARO'] = aro_mapping_table['ARO'].map(lambda a: f"ARO:{str(a).zfill(aro_number_length).removesuffix('.0')}", na_action='ignore') return aro_mapping_table def map_to_aro(gene, database):