Download scripts/stride/p_expdta.c from OneScience-Group/Chainsaw: direct link, hf CLI and curl.
- Browser
- Download file 381 Bytes
-
https://huggingface.co/OneScience-Group/Chainsaw/resolve/main/scripts/stride/p_expdta.c
- Command line
-
hf download hf://OneScience-Group/Chainsaw/scripts/stride/p_expdta.c
-
curl -L -o p_expdta.c https://huggingface.co/OneScience-Group/Chainsaw/resolve/main/scripts/stride/p_expdta.c
381 Bytes
| int Process_EXPDTA(BUFFER Buffer, enum METHOD *Method) | |
| { | |
| char *Field[MAX_FIELD]; | |
| int i, NFields; | |
| NFields = SplitString(Buffer,Field,10); | |
| for( i=0; i<NFields; i++ ) { | |
| if( !strcmp(Field[i],"MODEL") ) | |
| *Method = Model; | |
| else | |
| if( !strcmp(Field[i],"NMR") || !strcmp(Field[i],"/NMR$") ) | |
| *Method = NMR; | |
| } | |
| return(SUCCESS); | |
| } | |