We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Due to Algorithm.run(callbacks) typehint list[...] introduced in #1659
Algorithm.run(callbacks)
list[...]
From https://anvil.softeng-support.ac.uk/jenkins/job/CILsingle/job/CCPi-Framework-dev (related #1598, #1560):
====================================================================== ERROR: test_ISTA_algorithm (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: test_ISTA_algorithm Traceback (most recent call last): File "C:\Users\gemst\miniconda3\conda-bld\cil_1708105222305\_test_env\lib\unittest\loader.py", line 436, in _find_test_path module = self._get_module_from_name(name) File "C:\Users\gemst\miniconda3\conda-bld\cil_1708105222305\_test_env\lib\unittest\loader.py", line 377, in _get_module_from_ne __import__(name) File "C:\Users\gemst\miniconda3\conda-bld\cil_1708105222305\test_tmp\Wrappers\Python\test\test_ISTA_algorithm.py", line 21, in> from cil.optimisation.algorithms import ISTA File "C:\Users\gemst\miniconda3\conda-bld\cil_1708105222305\_test_env\lib\site-packages\cil\optimisation\algorithms\__init__.p> from .Algorithm import Algorithm File "C:\Users\gemst\miniconda3\conda-bld\cil_1708105222305\_test_env\lib\site-packages\cil\optimisation\algorithms\Algorithm.> class Algorithm: File "C:\Users\gemst\miniconda3\conda-bld\cil_1708105222305\_test_env\lib\site-packages\cil\optimisation\algorithms\Algorithm.m def run(self, iterations=None, callbacks: Optional[list[Callback]]=None, verbose=1, **kwargs): TypeError: 'type' object is not subscriptable
The text was updated successfully, but these errors were encountered:
casperdcl
Successfully merging a pull request may close this issue.
Due to
Algorithm.run(callbacks)
typehintlist[...]
introduced in #1659From https://anvil.softeng-support.ac.uk/jenkins/job/CILsingle/job/CCPi-Framework-dev (related #1598, #1560):
The text was updated successfully, but these errors were encountered: