Skip to content

tmpfile created in PDBComplex is not deleted upon program exit #175

@BHM-Bob

Description

@BHM-Bob

Describe the bug
tmpfile created in plip.structure.preparation.PDBComplex is not deleted upon program exit

To Reproduce
Steps to reproduce the behavior:

    mol = PDBComplex()
    mol.load_pdb(pdb_string, as_string=True)

Expected behavior
tmpfile deleted.

Python package:

  • OS: Ubuntu 22.04
  • Version 2.4.0

Additional context
In plip.structure.preparation.PDBComplex, the tmpfile created without clean up code?

pdbpath_fixed = tmpfile(prefix='plipfixed.' + basename + '_', direc=self.output_path)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions