aiidateam / aiida-sssp-workflow

sssp verification workflows
MIT License
4 stars 2 forks source link

Type hint syntax not support on python 3.8 #167

Closed unkcpz closed 2 years ago

unkcpz commented 2 years ago

File "/home/simon/.virtualenvs/aiida-1.6.8-QE/lib/python3.8/site-packages/plumpy/workchains.py", line 299, in step finished, result = self._child_stepper.step() File "/home/simon/.virtualenvs/aiida-1.6.8-QE/lib/python3.8/site-packages/plumpy/workchains.py", line 432, in step finished, retval = self._child_stepper.step() File "/home/simon/.virtualenvs/aiida-1.6.8-QE/lib/python3.8/site-packages/plumpy/workchains.py", line 299, in step finished, result = self._child_stepper.step() File "/home/simon/.virtualenvs/aiida-1.6.8-QE/lib/python3.8/site-packages/plumpy/workchains.py", line 250, in step return True, self._fn(self._workchain) File "/home/simon/.virtualenvs/aiida-1.6.8-QE/lib/python3.8/site-packages/aiida_sssp_workflow/workflows/verifications.py", line 257, in run_accuracy AccuracyWorkflow = WorkflowFactory(f"sssp_workflow.{property}") File "/home/simon/.virtualenvs/aiida-1.6.8-QE/lib/python3.8/site-packages/aiida/plugins/factories.py", line 216, in WorkflowFactory entry_point = BaseFactory(entry_point_group, entry_point_name) File "/home/simon/.virtualenvs/aiida-1.6.8-QE/lib/python3.8/site-packages/aiida/plugins/factories.py", line 46, in BaseFactory return load_entry_point(group, name) File "/home/simon/.virtualenvs/aiida-1.6.8-QE/lib/python3.8/site-packages/aiida/plugins/entry_point.py", line 209, in load_entry_point loaded_entry_point = entry_point.load() File "/home/simon/.virtualenvs/aiida-1.6.8-QE/lib/python3.8/site-packages/reentry/entrypoint.py", line 38, in load module = import_module(self.module_name) File "/mnt/nvme/spack-builds/python-3.8.12/.spack-env/._view/rbimtnccnzgkiy66n6wcbwbr6ajfh2sn/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "", line 843, in exec_module File "", line 219, in _call_with_frames_removed File "/home/simon/.virtualenvs/aiida-1.6.8-QE/lib/python3.8/site-packages/aiida_sssp_workflow/workflows/measure/delta.py", line 26, in from aiida_sssp_workflow.workflows.evaluate._delta import DeltaWorkChain File "/home/simon/.virtualenvs/aiida-1.6.8-QE/lib/python3.8/site-packages/aiida_sssp_workflow/workflows/evaluate/_delta.py", line 10, in from aiida_sssp_workflow.workflows.evaluate._eos import _EquationOfStateWorkChain File "/home/simon/.virtualenvs/aiida-1.6.8-QE/lib/python3.8/site-packages/aiida_sssp_workflow/workflows/evaluate/_eos.py", line 22, in class _EquationOfStateWorkChain(WorkChain): File "/home/simon/.virtualenvs/aiida-1.6.8-QE/lib/python3.8/site-packages/aiida_sssp_workflow/workflows/evaluate/_eos.py", line 56, in _EquationOfStateWorkChain def get_scale_factors(self) -> list[float]: TypeError: 'type' object is not subscriptable