SDV
SDV copied to clipboard
Investigate HMA case where parent is missing num_rows column
Environment Details
Please indicate the following details about the environment in which you found the bug:
- SDV version:
- Python version:
- Operating System:
Error Description
In the _get_num_rows_from_parent method in the hierarchical sampler, we have a check to see if the the num_rows column for the child is present in the parent. The _sample_children method also implements a similar check in #1696.
What, if any, examples are there where this check fails? Can these check be safely removed?