Skip to content

Reading local PDB file failed, got file from PDB database. No bug info printed and it stayed 0% instead of 100%. #421

@DUAN-GAO

Description

@DUAN-GAO

Describe the bug
Reading local PDB file failed, got file from PDB database. No bug info printed and it stayed 0% instead of 100%.
To Reproduce
Output:
Reading PDB file... ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0% -:--:--

That's all I got from running the below code:

file = "mmdb_8FYW.pdb"

from graphein.protein.config import ProteinGraphConfig
from graphein.protein.graphs import construct_graph

config = ProteinGraphConfig(

)
G = construct_graph(path=file, config=config)
print(G)

Expected behavior
The reading finished and a graph printed.
Screenshots
Image

  • OS: [Win 10]
  • Python Version 3.9.21
  • Graphein Version [1.7.7] & pip installed

Additional context
Could u help, many thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions