Skip to content

Commit ed5933d

Browse files
committed
Update to latest version of C library.
Should hopefully solve #37.
1 parent 1115502 commit ed5933d

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

lib

Submodule lib updated 87 files

src/cfreesasa.pxd

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,10 @@ cdef extern from "freesasa.h":
135135
const freesasa_classifier* classifier,
136136
int options)
137137

138-
freesasa_structure* freesasa_structure_get_chains(
139-
const freesasa_structure *structure,
140-
const char *chains)
138+
freesasa_structure* freesasa_structure_get_chains(const freesasa_structure *structure,
139+
const char *chains,
140+
const freesasa_classifier *classifier,
141+
int options)
141142

142143
freesasa_structure* freesasa_structure_new()
143144

@@ -238,4 +239,4 @@ cdef extern from "freesasa.h":
238239
const freesasa_result * freesasa_node_structure_result(const freesasa_node *node)
239240

240241
cdef extern from "freesasa_internal.h":
241-
int freesasa_write_pdb(FILE *output, freesasa_node *structure)
242+
int freesasa_write_pdb(FILE *output, freesasa_node *structure)

src/structure.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ def structureArray(fileName,
502502
for i in range(0, n):
503503
for j, chainID_group in enumerate(chain_groups):
504504
idx = j + (i * n_groups) + n
505-
group = freesasa_structure_get_chains(sArray[i], chainID_group)
505+
group = freesasa_structure_get_chains(sArray[i], chainID_group, NULL, structure_options)
506506
sArray[idx] = group
507507
n = n_total
508508

0 commit comments

Comments
 (0)