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

Dependency on pycolt #9

Closed
xiki-tempula opened this issue Oct 27, 2021 · 2 comments
Closed

Dependency on pycolt #9

xiki-tempula opened this issue Oct 27, 2021 · 2 comments

Comments

@xiki-tempula
Copy link
Contributor

I wonder if it is possible to fix the issue with pycolt?
It seems that if I install pycolt from the github repo and run qforce, I would get

          ____         ______
         / __ \       |  ____|
        | |  | |______| |__ ___  _ __ ___ ___
        | |  | |______|  __/ _ \| '__/ __/ _ \
        | |__| |      | | | (_) | | | (_|  __/
         \___\_\      |_|  \___/|_|  \___\___|

                     Selim Sami
            University of Groningen - 2020
            ==============================

Section = qm unknown, maybe typo?
Traceback (most recent call last):
  File "/biggin/b120/grte2001/miniconda3/envs/qforce/bin/qforce", line 7, in <module>
    exec(compile(f.read(), __file__, 'exec'))
  File "/biggin/b120/grte2001/GitHub/qforce/bin/qforce", line 23, in <module>
    run_qforce(input_arg=input_arg, config=config_file)
  File "/biggin/b120/grte2001/GitHub/qforce/qforce/main.py", line 14, in run_qforce
    config, job = initialize(input_arg, config, presets)
  File "/biggin/b120/grte2001/GitHub/qforce/qforce/initialize.py", line 147, in initialize
    init = Initialize.from_questions(input_arg=input_arg, config=config, presets=presets,
  File "/biggin/b120/grte2001/miniconda3/envs/qforce/lib/python3.9/site-packages/colt/colt.py", line 198, in from_questions
    return cls._from_config(answers, *args, **kwargs)
  File "/biggin/b120/grte2001/miniconda3/envs/qforce/lib/python3.9/site-packages/colt/colt.py", line 309, in _from_config
    return cls.from_config(answer, *args, **kwargs)
  File "/biggin/b120/grte2001/GitHub/qforce/qforce/initialize.py", line 103, in from_config
    return cls(config, input_arg)
  File "/biggin/b120/grte2001/GitHub/qforce/qforce/initialize.py", line 83, in __init__
    self.config = self._set_config(config)
  File "/biggin/b120/grte2001/GitHub/qforce/qforce/initialize.py", line 87, in _set_config
    config['qm'].update(config['qm']['software'])
  File "/biggin/b120/grte2001/miniconda3/envs/qforce/lib/python3.9/site-packages/colt/answers.py", line 14, in __getitem__
    return self._data[key]
KeyError: 'qm'

The pip version of pycolt works fine but it has a dependency on readline which will not work on osx.

@selimsami
Copy link
Owner

I will discuss this with the developer of pycolt, could be a version issue.

@selimsami
Copy link
Owner

selimsami commented Nov 7, 2021

@xiki-tempula, this problem should be fixed in the latest version of qforce (0.5.5). let me know if you encounter any problems please.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants