fix for _get_by_slice on feature-less slices
- Nov 22, 2014
-
-
Dan Staines authored
ensure that even for slices with no features, the adaptor bind params are left clean and empty once the method completes
29430297
-
Created by: danstaines
This was revealed as a problem when running densityfeature code (from GenomeLoader, not from the hive) on genomes with slices without features - it looks as if bind parameters were left hanging around in the adaptor instance as they weren't ever used (and hence cleared). This is probably the simplest fix.
ensure that even for slices with no features, the adaptor bind params are left clean and empty once the method completes