Comments (6)
I haven't worked on cruzdb for some time. It's likely that there are many parts of it that do not support python3. I'd accept a pull request to fix that.
from cruzdb.
Many thanks Brent for your reply. I am new to this, so I didn't realize there was a pull request.
from cruzdb.
It seems this issue was never fixed, I experienced it today (2021-09-14).
from cruzdb.
Still a problem today (2021-10-07)
`Python 3.8.11 (default, Aug 6 2021, 08:56:27)
[Clang 10.0.0 ] :: Anaconda, Inc. on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import cruzdb
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/opt/anaconda3/envs/qc38/lib/python3.8/site-packages/cruzdb/__init__.py", line 5, in <module>
from . import soup
File "/opt/anaconda3/envs/qc38/lib/python3.8/site-packages/cruzdb/soup.py", line 1, in <module>
from . import sqlsoup
File "/opt/anaconda3/envs/qc38/lib/python3.8/site-packages/cruzdb/sqlsoup.py", line 458
except KeyError, ke:
^
SyntaxError: invalid syntax`
In python 3, the proper except is:
try:
.....
except Exception as e:
raise Exception(e)
the comma is no longer supported.
from cruzdb.
happy to accept a PR that fixes python3 compat.
from cruzdb.
from cruzdb.
Related Issues (20)
- Misleading docstring for dataframe() HOT 2
- Helpers to handle canonical forms of genes HOT 6
- add ncbi link when annotating
- Other MySQL dialects (aside MySQLdb) are not supported HOT 4
- Figure out what needs to be done for Python 3 compatiblity HOT 8
- sqlalchemy needs to be added to requirements HOT 1
- Is it possible to continue to mirror a database to the same destination if the connection breaks? HOT 4
- Gene ABR Cruzdb shows 8 different entries in RefGene whereas RefGene in UCSC shows 5 HOT 1
- one exon missing HOT 2
- Installation Issue HOT 6
- list of tables HOT 1
- cruzdb issues when called within Python 3 HOT 1
- ImportError: cannot import name MapperExtension HOT 2
- unable to use package after install HOT 1
- Add as PyPI package HOT 1
- access to bioconductor's TxDb's
- protein sequence
- report which exon from annotate
- script to create knownGene with name
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cruzdb.