Skip to content

Conversation

bhass-neon
Copy link
Collaborator

Addresses the following from the PyOpenSci review:

  • The flake8 checks included in the CI show lots of minor cleanup most of which could be automatically cleaned up with flake8
  • PR for a potentially more maintainable version of convert_byte_size: revision to optimize convert_byte_size (Potential revision to optimise convert_byte_size #14) + consolidates in the metadata_helpers.py file so different scripts are using the same helper function
  • test_aop_download.py under tests references https://github.com/NEONScience/nu-python-testing, but this returns a 404 error - removed link and explained that additional tests are in a private repository
benjamindonnachie and others added 10 commits March 16, 2025 15:16
I've been optimising a lot of Python code recently and offer this as a potential alternative to convert_byte_size(). Removing the nested if.. elif... statements and making it easier to add additional si prefixes in the future if desired.
… instead of 1000, consolidate repeated code in aop_download.py and metadata_helpers.py
I've been optimising a lot of Python code recently and offer this as a potential alternative to convert_byte_size(). Removing the nested if.. elif... statements and making it easier to add additional si prefixes in the future if desired.
… instead of 1000, consolidate repeated code in aop_download.py and metadata_helpers.py
…s-python into bh_pos pulling latest from upstream, was not up to date with main branch
flake8 config file set to ignore long lines, line break before/after binary operators, and import warnings in init files
@bhass-neon bhass-neon merged commit 1124cef into main Apr 9, 2025
3 checks passed
@bhass-neon bhass-neon deleted the bh_pos branch April 9, 2025 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants