Download data/errors.py from BLEACH366/P2DFlow: direct link, hf CLI and curl.
- Browser
- Download file 464 Bytes
-
https://huggingface.co/BLEACH366/P2DFlow/resolve/main/data/errors.py
- Command line
-
hf download hf://BLEACH366/P2DFlow/data/errors.py
-
curl -L -o errors.py https://huggingface.co/BLEACH366/P2DFlow/resolve/main/data/errors.py
464 Bytes
| """Error class for handled errors.""" | |
| class DataError(Exception): | |
| """Data exception.""" | |
| pass | |
| class FileExistsError(DataError): | |
| """Raised when file already exists.""" | |
| pass | |
| class MmcifParsingError(DataError): | |
| """Raised when mmcif parsing fails.""" | |
| pass | |
| class ResolutionError(DataError): | |
| """Raised when resolution isn't acceptable.""" | |
| pass | |
| class LengthError(DataError): | |
| """Raised when length isn't acceptable.""" | |
| pass |