Giter Site home page Giter Site logo

Comments (3)

Eigenstate avatar Eigenstate commented on July 17, 2024
  1. You need to provide more detail than "changes in behavior" for me to be able to do anything. What is the expected output? What is the output you're getting? I can't just glance at your code and see how the new release affects your function call. What Python version? What OS?

  2. I don't know why you're using the TCL interface and parsing the output when native Python functionality has always existed for atomsel.

chains = safely_parsed_evaltcl("$%s get chain" % selection_id)
is trivially:
selection.chains
(or in vmd-python 2.*, selection.get("chains") which is backwards compatible but will emit DeprecationWarning in vmd-python 3. )
Please read the documentation for atomsel: https://vmd.robinbetz.com/atomsel.html

Re-writing your code to make full use of the vmd-python interface may fix the problems you're seeing.

from vmd-python.

RasmusFonseca avatar RasmusFonseca commented on July 17, 2024
  1. The related issue is right there along with the stack-trace and reported OS. I wasn't asking to fix our code, just whether there were expected changes related to the get-functionality.
  2. I don't know either as I didn't write it. Your suggested syntax looks way nicer than what we're currently doing, so will try that out. Thanks!

from vmd-python.

Eigenstate avatar Eigenstate commented on July 17, 2024

Fixed in version 3.0.5

from vmd-python.

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.