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

.version() and .igv_version() methods raise a FileNotFoundError #14

Closed
safay opened this issue Jan 4, 2023 · 2 comments
Closed

.version() and .igv_version() methods raise a FileNotFoundError #14

safay opened this issue Jan 4, 2023 · 2 comments

Comments

@safay
Copy link

safay commented Jan 4, 2023

Package version: igv-notebook==0.4.2, installed with pip
Python version: 3.9.15
OS: Ubuntu 18.04.6 LTS

Executing igv_notebook.version() as per the documentation raises an error:

---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
Cell In[7], line 1
----> 1 igv_notebook.version()

File /opt/tljh/user/lib/python3.9/site-packages/igv_notebook/version.py:3, in version()
      2 def version():
----> 3     with open('VERSION') as version_file:
      4        return version_file.read().strip()

FileNotFoundError: [Errno 2] No such file or directory: 'VERSION'

A similar error is raised for the .igv_version() method.

Perhaps this is related to the fact that this is not a dev (-e) install, and it's just the README that needs updating?

@jrobinso
Copy link
Contributor

jrobinso commented Jan 4, 2023

That looks like a packaging bug. Thanks for the report, I'll look into it.

@jrobinso
Copy link
Contributor

jrobinso commented Jan 5, 2023

This is now fixed in release 0.4.3

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