We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ead35b7 commit ab3e0f1Copy full SHA for ab3e0f1
alphafold3_pytorch/inputs.py
@@ -1947,7 +1947,12 @@ def alphafold3_input_to_biomolecule(
1947
### Step 4. Atom Masks
1948
# atom_masks: np.array [num_res, num_atom_types (47)]
1949
# Due to the first Atom that's present being a zero due to zero indexed counts we force it to be a one.
1950
- atom_masks = np.stack([np.array(np.concat([np.array([1]), r2a[1:]]) != 0).astype(int) for r2a in restype_to_atom])
+ atom_masks = np.stack(
1951
+ [
1952
+ np.array(np.concatenate([np.array([1]), r2a[1:]]) != 0).astype(int)
1953
+ for r2a in restype_to_atom
1954
+ ]
1955
+ )
1956
1957
### Step 5. Residue Index
1958
# residue_index: np.array [num_res], 1-indexed
0 commit comments