Coder Social home page Coder Social logo

minimal-metab's People

Contributors

turbomam avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

minimal-metab's Issues

owl and shacl generation: AttributeError: 'str' object has no attribute 'decode'

gen-project: $(PYMODEL)
	$(RUN) gen-project ${GEN_PARGS} \
		--exclude owl \
		--exclude shacl \
		-d $(DEST) $(SOURCE_SCHEMA_PATH) && mv $(DEST)/*.py $(PYMODEL)

Traceback (most recent call last):
File "/home/mark/.cache/pypoetry/virtualenvs/minimal-metab--2GObgSZ-py3.9/bin/gen-project", line 8, in
sys.exit(cli())
File "/home/mark/.cache/pypoetry/virtualenvs/minimal-metab--2GObgSZ-py3.9/lib/python3.9/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/home/mark/.cache/pypoetry/virtualenvs/minimal-metab--2GObgSZ-py3.9/lib/python3.9/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/home/mark/.cache/pypoetry/virtualenvs/minimal-metab--2GObgSZ-py3.9/lib/python3.9/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/mark/.cache/pypoetry/virtualenvs/minimal-metab--2GObgSZ-py3.9/lib/python3.9/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/home/mark/.cache/pypoetry/virtualenvs/minimal-metab--2GObgSZ-py3.9/lib/python3.9/site-packages/linkml/generators/projectgen.py", line 260, in cli
gen.generate(yamlfile, project_config)
File "/home/mark/.cache/pypoetry/virtualenvs/minimal-metab--2GObgSZ-py3.9/lib/python3.9/site-packages/linkml/generators/projectgen.py", line 158, in generate
gen_dump = gen.serialize(**serialize_args)
File "/home/mark/.cache/pypoetry/virtualenvs/minimal-metab--2GObgSZ-py3.9/lib/python3.9/site-packages/linkml/generators/shaclgen.py", line 41, in serialize
data = g.serialize(
AttributeError: 'str' object has no attribute 'decode'

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.