Code Monkey home page Code Monkey logo

Comments (4)

p2 avatar p2 commented on July 28, 2024

Yes, that's an error occurring in Python 2, you'll have to use Python 3.x.

from py-umls.

gpinkham avatar gpinkham commented on July 28, 2024

ok I will try that.. I changed the code to: GraphableObject.__init__(self, rxcui, rxcui) which worked for the moment but failed trying to read the rxnconso table (not found).. I will update to python 3 and reset the code and try again.. (and I ran rxnorm.sh to import the rrf's).. thanks!!!

from py-umls.

gpinkham avatar gpinkham commented on July 28, 2024

thanks.. updating to Python3 fixed that issue. . I still get "no such table: rxnconso" despite running the importer. I even deleted the previous import and reran it.. I have a 1.9gb rxnorm.db file so seems like it has data.. the importer reported "indexing RXNCONSO table".. so seems like it should be there..

from py-umls.

gpinkham avatar gpinkham commented on July 28, 2024

Figured it out.. running this command: databases/rxnorm.sh ~/Downloads/RxNorm_full_04042016 from the root of the project created the rxnorm.db file in the root of the project but the rxnorm.py code looks for it in the databases directory. I guess the command should be run as ./rxnorm.sh ~/Downloads/RxNorm_full_04042016 inside the databases directory.. still having issues with tables not found (this time va_cache) but I'll close this out and put this aside till later (need to do my day job now).. many thanks! cool tool..

from py-umls.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.