INNER CODE UNIT · C

type

mittinatten/freesasa · src/classifier.c:610

        type = find_string(types->name, buf3, types->n_types);

        if (type < 0) {
            return fail_msg("unknown atom type '%s' in configuration, line '%s'",
                            buf3, line);
        }

        res = freesasa_classifier_add_residue(c, buf1);

        if (res == FREESASA_FAIL) return fail_msg("");

        atom = freesasa_classifier_add_atom(c->residue[res],
                                            buf2,
                                            types->type_radius[type],
                                            types->type_class[type]);

        if (atom == FREESASA_FAIL) return fail_msg("");
        if (atom == FREESASA_WARN) return FREESASA_WARN;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…