Skip to content

Conversation

@pinedaps
Copy link
Contributor

@pinedaps pinedaps commented Mar 12, 2025

Partial fix to #58 and #115

Added

  • CI testing for pmb.get_particle_id_map, pmb.get_radius_map, pmb.assign_molecule_id

Fixed

  • Unnecessary if-else condition in get_type_map
  • CI testing for pmb.delete_entry_from_df

Removed

  • verbose optional argument has been deprecated in most of pyMBE methods. Now the module loggins is used instead for handling pyMBE's logs.

pinedaps added 3 commits March 11, 2025 19:23
…ke more robust. Remove unnecessary pieces of code in pyMBE (assign_molecule and get_type_map)
@pm-blanco pm-blanco changed the title Improving the coverage of the CI testing Improve CI testing and pyMBE log Mar 13, 2025
pm-blanco
pm-blanco previously approved these changes Mar 13, 2025
Copy link
Collaborator

@pm-blanco pm-blanco left a comment

Choose a reason for hiding this comment

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

@pinedaps looks good to me, thank you for the unit tests and for reporting the one that was omited from our CI. I took the chance to modernize the code a bit. Since your test requiered to capture the logs from pyMBE I also took the chance to introduce loggins to start working on #115

@pm-blanco pm-blanco merged commit 6339090 into pyMBE-dev:main Mar 13, 2025
3 checks passed
1234somesh pushed a commit to 1234somesh/pyMBE that referenced this pull request May 21, 2025
* Improve coverage of pymbe_library.get_particle_id_map() and make test unit for pymbe_library.get_radius_map()

* Modification of the test for get_particle_id and get_radius_map to make more robust. Remove unnecessary pieces of code in pyMBE (assign_molecule and get_type_map)

* Solving issues with unusued variable: used_molecules_id

* Added two unit test for the print statements in add_value_to_df()

* modernize unit test for io_df, start implementing loggins in pyMBE, remove verbose optional arguments

* fix test and tutorial

* clean up kernel in the tutorial

---------

Co-authored-by: blancoapa <pablb@ntnu.no>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants