Giter Site home page Giter Site logo

Comments (2)

sjlongland avatar sjlongland commented on July 21, 2024

It's a bit difficult to discern what is actually getting returned. Github Issues use Markdown formatting, and I think some of what you've posted is getting interpreted as Markdown (and a ping to fellow Github user @p who is now probably wondering what this barrage of mentions is about). -- Edit: I realised I can fix the formatting of your post, so have added a few ``` blocks to make things more readable.

It's worth noting anything starting with an underscore (_) is protected interface, and not a guaranteed stable API. We might be able to add an eval_all method to the SkySpark interface if you can provide some detail of how it works so we can better support it, however I'd strongly recommend against any production scripts directly calling _post_grid (or its related _get_grid).

The other thing you can try is when creating your session; specify grid_format=hszinc.MODE_JSON: as it looks like you've requested and got back ZINC encoding and a highly complicated ZINC grid to boot. pyhaystack uses hszinc for ZINC parsing/encoding, so if there's an issue parsing the grid, it'll be a bug in hszinc not pyhaystack.

from pyhaystack.

ChristianTremblay avatar ChristianTremblay commented on July 21, 2024

Agree with Stuart... use JSON

from pyhaystack.

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.