@@ -19,8 +19,7 @@ use vortex::utils::aliases::hash_set::HashSet;
1919
2020use super :: vcf_conversion:: * ;
2121
22- #[ allow( dead_code) ]
23- #[ allow( non_snake_case) ]
22+ #[ expect( non_snake_case) ]
2423pub struct GnomADBuilder < ' a > {
2524 /// The schema of the to-be-generated Parquet file.
2625 schema : SchemaRef ,
@@ -231,7 +230,6 @@ impl InfoArrayBuilder {
231230}
232231
233232impl < ' a > GnomADBuilder < ' a > {
234- #[ allow( non_snake_case) ]
235233 pub fn new ( header : & ' a Header , schema : SchemaRef ) -> Self {
236234 let info_builder: HashMap < & ' a str , InfoArrayBuilder > = header
237235 . infos ( )
@@ -264,7 +262,6 @@ impl<'a> GnomADBuilder<'a> {
264262 }
265263 }
266264
267- #[ expect( clippy:: cognitive_complexity) ]
268265 pub fn consume_record ( & mut self , header : & Header , record : & mut Record ) -> VortexResult < ( ) > {
269266 self . CHROM_builder
270267 . append_value ( record. reference_sequence_name ( ) ) ;
@@ -352,7 +349,6 @@ impl<'a> GnomADBuilder<'a> {
352349 Ok ( ( ) )
353350 }
354351
355- #[ expect( clippy:: cognitive_complexity) ]
356352 pub fn consume_info ( & mut self , header : & Header , info : Info ) -> VortexResult < ( ) > {
357353 info. iter ( header)
358354 . process_results ( |iter| -> VortexResult < ( ) > {
@@ -376,7 +372,6 @@ impl<'a> GnomADBuilder<'a> {
376372 } ) ?
377373 }
378374
379- #[ expect( clippy:: cognitive_complexity) ]
380375 pub fn finish ( mut self ) -> Result < RecordBatch , ArrowError > {
381376 let len = self . CHROM_builder . len ( ) ;
382377 assert_eq ! ( len, self . POS_builder . len( ) ) ;
0 commit comments