Closed lenhanpham closed 1 year ago
The question is why isn't this caught by tests?
The question is why isn't this caught by tests?
Sometimes machines still can make mistakes.
Recently, the website https://www.basissetexchange.org/ has not been working at all (died????!!!!!). So I turned my mind to this package and this error happened. :-)
Recently, the website https://www.basissetexchange.org/ has not been working at all (died????!!!!!))
Looking into it now. I think I see the problem and it will be fixed shortly
The question is why isn't this caught by tests?
Sometimes machines still can make mistakes.
Machines don't make mistakes. This should be included in the tests.
It's not in the list of formats to test round tripping: https://github.com/MolSSI-BSE/basis_set_exchange/blob/9c3abc5fc71fab9b3ee4cd8fc917ace0013c3404/basis_set_exchange/tests/test_curate_roundtrip.py#L42
The test fails if I do that. That should be done, but I can merge this as-is for now.
It's not in the list of formats to test round tripping:
The test fails if I do that. That should be done, but I can merge this as-is for now.
I think the roundtrip formats should include all formats that are supported as both input and output; at least this is the impression I got from you :stuck_out_tongue_closed_eyes: Doing round trips will at least do a better job of ensuring the library is consistent...
It's not in the list of formats to test round tripping: https://github.com/MolSSI-BSE/basis_set_exchange/blob/9c3abc5fc71fab9b3ee4cd8fc917ace0013c3404/basis_set_exchange/tests/test_curate_roundtrip.py#L42
The test fails if I do that. That should be done, but I can merge this as-is for now.
I think the roundtrip formats should include all formats that are supported as both input and output; at least this is the impression I got from you stuck_out_tongue_closed_eyes Doing round trips will at least do a better job of ensuring the library is consistent...
The readers were originally written just to help with curation, but that evolved to be more public facing. So the tests fell behind a little bit.
In reviewing this, I've discovered a pretty serious bug in the github actions. I am going to open a PR for that soon, with some fixes. But I will merge this as-is.
This function is no more located in helpers but in manip