Code Monkey home page Code Monkey logo

Comments (4)

adalke avatar adalke commented on September 23, 2024

It's a legacy text format that should probably be removed.

Looks like it came from when the environment fingerprint table grew to include links from r+1 to r. It shows me no one uses that format.

Could you try using https://github.com/adalke/mmpdb/tree/v3-dev ? That's the latest dev version, mostly waiting for feedback before final release.

The current version of that section is:

    def add_environment_fingerprint(self, fp_idx, smarts, pseudosmiles, parent_smarts):
        if parent_smarts is None:
            parent_smarts = ""
        self._W("FINGERPRINT\t%d\t%s\t%s\t%s\n" % (fp_idx, smarts,  pseudosmiles, parent_smarts))

from mmpdb.

baoilleach avatar baoilleach commented on September 23, 2024

That works, but with the new version --out csv doesn't work (which I do need).

  File "/home/export/noel.oboyle/Tools/conda/miniconda3/envs/mmpdb-test/lib/python3.9/site-packages/mmpdblib/index_writers.py", line 1174, in open
    return self.opener(destination, compression,
  File "/home/export/noel.oboyle/Tools/conda/miniconda3/envs/mmpdb-test/lib/python3.9/site-packages/mmpdblib/index_writers.py", line 849, in _open_csv
    outfile = _open_output(destination, compressionf)
NameError: name 'compressionf' is not defined

from mmpdb.

adalke avatar adalke commented on September 23, 2024

Okay, fixed the typo. Seems to work.

You might also be interested in the "csvd" output format, which saves all of the tables to separate CSV files in a named directory, along with drivers to import the data into SQLite and Postgres. ("csvd" = "csv directory")

from mmpdb.

baoilleach avatar baoilleach commented on September 23, 2024

Works for me now. I note that cvsd is not (yet?) documented under "mmpdb index --help". Sounds interesting, but not for me right now.

from mmpdb.

Related Issues (20)

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.