Skip to content

Commit d9b7a01

Browse files
perf: removed redundant recomputation of chain ID
1 parent 9a52f05 commit d9b7a01

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/ursina_proteins/protein.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,6 @@ def compute_helices_and_coils_meshes(
292292
verts[segment_type].extend(smoothed_coords)
293293

294294
# Colors
295-
chain_id = chain.get_id()
296295
chain_color = id_color_map.get(
297296
chain_id,
298297
Protein.CHAIN_COLORS.get(

0 commit comments

Comments
 (0)