Skip to content

Commit f0a8e4e

Browse files
committed
Formatting via uv run black cellpack
1 parent e8f4e9e commit f0a8e4e

File tree

17 files changed

+37
-20
lines changed

17 files changed

+37
-20
lines changed

cellpack/autopack/Analysis.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
55
@author: ludo
66
"""
7+
78
import concurrent.futures
89
import json
910
import logging

cellpack/autopack/BaseGrid.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
###############################################################################
3636
@author: Ludovic Autin, Graham Johnson, & Michel Sanner
3737
"""
38+
3839
import logging
3940
import numpy
4041
from scipy import spatial

cellpack/autopack/GeometryTools.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
http://crowsandcats.blogspot.com/2013/04/cube-sphere-intersection-volume.html
1414
Copyright © Andrew White
1515
"""
16+
1617
import math
1718
import numpy as np
1819

cellpack/autopack/IOutils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
55
@author: Ludovic Autin
66
"""
7+
78
import json
89
import os
910
import pickle

cellpack/autopack/MeshStore.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,15 +281,15 @@ def get_smallest_radius(self, geomname, center):
281281
mesh = self.get_object(geomname)
282282
if mesh is not None:
283283
query = trimesh.proximity.ProximityQuery(mesh)
284-
(_, distance, _) = query.on_surface([center])
284+
_, distance, _ = query.on_surface([center])
285285
return distance[0]
286286
return 1.0
287287

288288
def get_normal(self, geomname, point_pos):
289289
mesh = self.get_object(geomname)
290290
if mesh is not None:
291291
query = trimesh.proximity.ProximityQuery(mesh)
292-
(distance, triangle_ids) = query.vertex([point_pos])
292+
distance, triangle_ids = query.vertex([point_pos])
293293
triangle_id = triangle_ids[0]
294294
return mesh.vertex_normals[triangle_id]
295295

cellpack/autopack/Serializable.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
55
@author: ludo
66
"""
7+
78
# serializabl;e class for auopack recipe
89
import json
910

10-
1111
# toDO class Assambly for nesting of protein quaternary structure.
1212
# class sAssambly
1313
# static_id=0

cellpack/autopack/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
AF
3535
@author: Ludovic Autin with editing by Graham Johnson
3636
"""
37+
3738
import getpass
3839
import json
3940
import logging

cellpack/autopack/ingredient/Ingredient.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1619,10 +1619,10 @@ def attempt_to_pack_at_grid_location(
16191619
# TODO: make this work for ingredients other than single spheres
16201620

16211621
success = True
1622-
(jtrans, rotMatj) = self.get_new_jitter_location_and_rotation(
1622+
jtrans, rotMatj = self.get_new_jitter_location_and_rotation(
16231623
env, target_grid_point_position, rotation_matrix
16241624
)
1625-
(insidePoints, newDistPoints) = self.pack_at_grid_pt_location(
1625+
insidePoints, newDistPoints = self.pack_at_grid_pt_location(
16261626
env,
16271627
jtrans,
16281628
rotMatj,

cellpack/autopack/interface_objects/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# -*- coding: utf-8 -*-
22
"""Interface classes for cellpack. These are to establish data structures."""
3+
34
from .default_values import ( # noqa: F401
45
default_recipe_values,
56
)

cellpack/autopack/transformation.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@
185185
True
186186
187187
"""
188+
188189
from __future__ import division, print_function
189190

190191

0 commit comments

Comments
 (0)