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

watcher.py trying to import old VMAT class #136

Merged
merged 1 commit into from
Sep 5, 2018

Conversation

alanphys
Copy link
Contributor

HI James

I've picked up on pylinac after a while and when I run it I get the error below running on Fedora 26. It seems as though line 25 of watcher.py is still trying to import the VMAT class. I've changed it to DRGS, DRMLC which seems to work (at least on the demo images). I've created a pull request on my fork.

Regards
Alan

Traceback (most recent call last):
File "", line 1, in
File "/opt/pycharm-community-2018.2.2/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 20, in do_import
module = self._system_import(name, *args, **kwargs)
File "/home/alanphys/Programs/pylinac/pylinac/init.py", line 24, in
from pylinac.watcher import watch, process
File "/opt/pycharm-community-2018.2.2/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 20, in do_import
module = self._system_import(name, *args, **kwargs)
File "/home/alanphys/Programs/pylinac/pylinac/watcher.py", line 25, in
from pylinac import VMAT, Starshot, PicketFence, WinstonLutz, LeedsTOR, StandardImagingQC3, load_log, LasVegas
ImportError: cannot import name 'VMAT'

@coveralls
Copy link

coveralls commented Aug 31, 2018

Coverage Status

Coverage increased (+28.6%) to 75.939% when pulling d36d4b6 on alanphys:master into d6f675f on jrkerns:master.

@jrkerns
Copy link
Owner

jrkerns commented Sep 5, 2018

Thanks!

jrkerns added a commit that referenced this pull request Dec 13, 2022
fix deprecation warnings

* fix deprecation warnings
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

Successfully merging this pull request may close these issues.

3 participants