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

Finish linting, except for unused local variables #90

Merged
merged 9 commits into from May 30, 2019

Conversation

mccalluc
Copy link
Contributor

Description

What was changed in this pull request?

  • Lots of changes in the clodius directory: Many of these would have caused problems if we reached that code path... which in turn makes me wish the test coverage were better.
  • The last task is the unused local variables, but this is enough for one PR.

Checklist

  • Unit tests added or updated
  • Updated CHANGELOG.md

@@ -35,11 +35,6 @@ def aggregate():
pass


def store_meta_data(cursor, zoom_step, max_length, assembly, chrom_names,
chrom_sizes, tile_size, max_zoom, max_width, header=[]):
print("chrom_names:", chrom_names)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

store_meta_data is redefined below.

default=None)
def multivec(filepath, output_file, assembly, tile_size, chromsizes_filename, starting_resolution, method, row_infos_filename):
_multivec(filepath, output_file, assembly, tile_size,
chromsizes_filename, starting_resolution, method, row_infos_filename)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

multivec is redefined below

@@ -24,7 +24,7 @@ def get_2d_tileset_info(db_file):
return tileset_info


def get_1D_tiles(db_file, tile_ids):
def get_1D_tiles(db_file, zoom, tile_x_pos, numx):
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

zoom is referenced below, and the doc string suggests zoom is the second parameter.

@mccalluc mccalluc requested a review from pkerpedjiev May 30, 2019 17:46
@mccalluc mccalluc marked this pull request as ready for review May 30, 2019 17:52
@mccalluc
Copy link
Contributor Author

Pete said to go ahead and merge. Hope to get more eyes on this before we make a release.

@mccalluc mccalluc merged commit 4ccca4b into develop May 30, 2019
@mccalluc mccalluc deleted the mccalluc/flake8-clodius-dir branch May 30, 2019 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant