Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ease creating derived program instances #94

Open
Paebbels opened this issue Feb 27, 2022 · 0 comments
Open

Ease creating derived program instances #94

Paebbels opened this issue Feb 27, 2022 · 0 comments
Labels
CLIAbstraction pyTooling.CLIAbstraction Enhancement New feature or request
Milestone

Comments

@Paebbels
Copy link
Member

The following method was tested with GHDL to derive program instance variants:

def _CopyParameters(self, tool: "GHDL") -> None:
  for key in self.__cliParameters__:
    if self._NeedsParameterInitialization(key):
      value = self.__cliParameters__[key].Value
      tool.__cliParameters__[key] = key(value)
    else:
      tool.__cliParameters__[key] = key()
@Paebbels Paebbels added the Enhancement New feature or request label Feb 27, 2022
@Paebbels Paebbels transferred this issue from pyTooling/pyTooling.CLIAbstraction Jul 9, 2023
@Paebbels Paebbels added the CLIAbstraction pyTooling.CLIAbstraction label Jan 1, 2024
@Paebbels Paebbels added this to the v6.1.0 milestone Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLIAbstraction pyTooling.CLIAbstraction Enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant