Closed gaurav closed 6 months ago
Right now, an error in get_normalized_nodes() causes the entire batch to fail, as the exception is caught outside of the individual identifier loops.
get_normalized_nodes()
https://github.com/TranslatorSRI/NodeNormalization/blob/7363d171b3a0f4735b63546692c845e8d047da32/node_normalizer/normalizer.py#L571-L573
It would be great if we could rewrite this so that only identifiers causing exceptions result in errors, and other errors are returned normally.
Right now, an error in
get_normalized_nodes()
causes the entire batch to fail, as the exception is caught outside of the individual identifier loops.https://github.com/TranslatorSRI/NodeNormalization/blob/7363d171b3a0f4735b63546692c845e8d047da32/node_normalizer/normalizer.py#L571-L573
It would be great if we could rewrite this so that only identifiers causing exceptions result in errors, and other errors are returned normally.