Coder Social home page Coder Social logo

Update traits.json structure about loopygen HOT 5 CLOSED

you3h avatar you3h commented on September 22, 2024
Update traits.json structure

from loopygen.

Comments (5)

Montspy avatar Montspy commented on September 22, 2024

@you3h

  • What happens to royalty.address field if Royalty Address is not provided?
  • What happens to artists field if Artist Name is not provided?

from loopygen.

Montspy avatar Montspy commented on September 22, 2024

Development of the traits.json converters is in the dev/traits-converter branch

from loopygen.

Montspy avatar Montspy commented on September 22, 2024

traits JSON converters merged into dev/react-ui branch with commit 2a1e136

# Convert to latest traits JSON version (currently v2.0.0)
./docker.sh python3 generator/json-convert.py --file traits_v1.0.0.json --output other/folder/traits.json
# Convert to specific version (e.g. v1.0.0)
./docker.sh python3 generator/json-convert.py --file traits_v2.0.0.json --version 1.0.0 --output other/folder/traits.json
# Convert in place (input file will be replaced)
./docker.sh python3 generator/json-convert.py --file traits_v1.0.0.json

@sk33z3r

from loopygen.

Montspy avatar Montspy commented on September 22, 2024

generate.py and other files using load_traits() from generator/utils.py now convert to v1.0.0 traits json and should work with the new v2.0.0 traits.json format

@you3h
The React UI needs to populate the "version": "v2.0.0" field in the root JSON dictionary
Created issue you3h/LooPyGen_Client#21 for tracking

from loopygen.

sk33z3r avatar sk33z3r commented on September 22, 2024

Closing

from loopygen.

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.