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

Simplify test_combine_echodata_combined_append #1

Merged
merged 1 commit into from
Aug 15, 2023

Conversation

emiliom
Copy link

@emiliom emiliom commented Aug 15, 2023

  • Simplify test_combine_echodata_combined_append, esp. by using common code for repeated blocks; plus other readability tweaks
  • Small tweak to a combine.py docstring

…code for repeated blocks; plus other readability tweaks
@lsetiawan lsetiawan merged commit 0a1bc9a into lsetiawan:fix_combine Aug 15, 2023
1 check passed
@emiliom emiliom deleted the lsetiawan-fix_combine branch August 15, 2023 17:50
lsetiawan added a commit to OSOceanAcoustics/echopype that referenced this pull request Aug 15, 2023
* fix: fix how provenance data are combined

* test: add test to check actual prov vals

* fix: remove ECHODATA_FILENAME, use ED_FILENAME

* tests: simplify 'test_combine_echodata_combined_append' (lsetiawan#1)

Simplified by using common code for repeated blocks; plus other readability tweaks

---------

Co-authored-by: Emilio Mayorga <[email protected]>
Refs: #1115
lsetiawan pushed a commit that referenced this pull request Sep 20, 2023
…parsers. (OSOceanAcoustics#1135)

* replaced usage of xml.dom.minidom with xml.etree.ElementTree

* modified azfp parser and parsed all parameters

* refactored the parse_azfp code and added new tests

* small tweak in test, rename conversion function to _camel_to_snake

* updated parameter names

* Replace camel-to-snake conversion funcitonality (#1)

* Create utils camel-to-snake-case function in new misc.py, and use it in ek_raw_parsers

* Replace AZFP camel-to-snake function with new utils/misc.py function

* fixed minor error in code

* minor change in test_convert_azfp.py

* fixed failing tests

* fixed failing tests related to attribute name

* fixed minor bug

---------

Co-authored-by: Wu-Jung Lee <[email protected]>
Co-authored-by: Emilio Mayorga <[email protected]>
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.

2 participants