Skip to content

Commit

Permalink
worker thread class added
Browse files Browse the repository at this point in the history
  • Loading branch information
KubiV committed Aug 31, 2024
1 parent 526d34e commit 9248a31
Show file tree
Hide file tree
Showing 7 changed files with 251 additions and 226 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file modified version2/.DS_Store
Binary file not shown.
Binary file modified version2/src/.DS_Store
Binary file not shown.
7 changes: 4 additions & 3 deletions version2/src/PDBfileParse.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
from Bio import PDB
#from Bio import PDB
from Bio.PDB import PDBParser
import numpy as np

def extract_coordinates(pdb_filename):
# Create a PDB parser
parser = PDB.PDBParser(QUIET=True)
parser = PDBParser(QUIET=True)

# Load the structure from the PDB file
structure = parser.get_structure('molecule', pdb_filename)
Expand Down Expand Up @@ -34,7 +35,7 @@ def extract_coordinates(pdb_filename):
return atom_coordinates

def extract_coordinates2(pdb_filename):
parser = PDB.PDBParser(QUIET=True)
parser = PDBParser(QUIET=True)
structure = parser.get_structure('molecule', pdb_filename)
atoms = structure.get_atoms()
atom_coordinates = {}
Expand Down
Binary file modified version2/src/__pycache__/MoleculeModelGenerating.cpython-311.pyc
Binary file not shown.
Binary file modified version2/src/__pycache__/PDBfileParse.cpython-311.pyc
Binary file not shown.
Loading

0 comments on commit 9248a31

Please sign in to comment.