Skip to content

Conversation

@mgeplf
Copy link
Collaborator

@mgeplf mgeplf commented Jun 24, 2025

  • also teach Population::__init__ CompartmentSets::from_file to accept pathlib Path

@coveralls
Copy link

Pull Request Test Coverage Report for Build 15845093273

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 92.694%

Totals Coverage Status
Change from base Build 15774223406: 0.0%
Covered Lines: 2360
Relevant Lines: 2546

💛 - Coveralls

@mgeplf mgeplf marked this pull request as ready for review June 24, 2025 08:50
@mgeplf mgeplf requested a review from cattabiani June 24, 2025 08:54
Copy link
Contributor

@cattabiani cattabiani left a comment

Choose a reason for hiding this comment

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

LGTM

};
return py::class_<Population, std::shared_ptr<Population>>(m, clsName, docString)
.def(py::init<const std::string&, const std::string&, const std::string&>())
.def(py::init([](py::object h5_filepath, py::object csv_filepath, std::string name) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I thought these methods did not need a docstring

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I thought you wanted them :)

Copy link
Contributor

Choose a reason for hiding this comment

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

(I approved already :D)

@mgeplf mgeplf merged commit 435ac97 into master Jun 26, 2025
23 checks passed
@mgeplf mgeplf deleted the add-docstrings branch June 26, 2025 15:34
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.

4 participants