Skip to content

Commit

Permalink
remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
muddymudskipper committed Jul 9, 2024
1 parent 783a061 commit e63d18c
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions cmem_plugin_reason/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from collections import OrderedDict
from pathlib import Path
from secrets import token_hex
from shutil import rmtree
from subprocess import CompletedProcess, run
from xml.etree.ElementTree import Element, SubElement, tostring

Expand Down Expand Up @@ -122,14 +121,6 @@ def send_result(iri: str, filepath: Path) -> None:
)


def remove_temp(plugin: WorkflowPlugin) -> None:
"""Remove temporary files"""
try:
rmtree(plugin.temp)
except (OSError, FileNotFoundError) as err:
plugin.log.warning(f"Cannot remove directory {plugin.temp} ({err})")


def post_provenance(plugin: WorkflowPlugin, prov: dict | None) -> None:
"""Post provenance"""
if not prov:
Expand Down

0 comments on commit e63d18c

Please sign in to comment.