Skip to content

Commit

Permalink
Merge pull request #1513 from pyiron/execode
Browse files Browse the repository at this point in the history
Executable: drop old code argument
  • Loading branch information
jan-janssen authored Jul 5, 2024
2 parents d9bf802 + d49c930 commit f710cd4
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions pyiron_base/jobs/job/extension/executable.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def __init__(
path_binary_codes=None,
codename=None,
module=None,
code=None,
overwrite_nt_flag=False,
):
"""
Expand All @@ -50,11 +49,6 @@ def __init__(
if path_binary_codes is None:
path_binary_codes = state.settings.resource_paths
self.storage.version = None
if code is not None: # Backwards compatibility
if not isinstance(code.__name__, str):
raise TypeError("The codename should be a string.")
codename = code.__name__
module = code.__module__.split(".")[1]
if codename is not None and module is not None:
self.storage.name = codename.lower()
code_path_lst = [
Expand Down

0 comments on commit f710cd4

Please sign in to comment.