This site is a beta test.
Question: viewing biostar github code with graphviz
Entering edit mode
3.2 years ago
bicepjai • 0

I am trying to use biostar code make a website. Biostar code seems amazing. But having hard time trying to wrap my mind around the models. pygraphviz seems like the way to go. But finding it hard to generate those model images. Could anyone help with this model images generation with graphviz for django ?

currently trying to follow

Any help appreciated. I got the to see the graph_models command-line argument but i end up getting

(biostar)root (master)*[biostar-central]$ ./ graph_models -a -g -o my_project.png
Traceback (most recent call last):
  File "./", line 9, in <module>
  File "/root/websites/django-tutorial/virtual-envs/biostar/lib/python2.7/site-packages/django/core/management/", line 399, in execute_from_command_line
  File "/root/websites/django-tutorial/virtual-envs/biostar/lib/python2.7/site-packages/django/core/management/", line 392, in execute
  File "/root/websites/django-tutorial/virtual-envs/biostar/lib/python2.7/site-packages/django/core/management/", line 272, in fetch_command
    klass = load_command_class(app_name, subcommand)
  File "/root/websites/django-tutorial/virtual-envs/biostar/lib/python2.7/site-packages/django/core/management/", line 75, in load_command_class
    module = import_module('' % (app_name, name))
  File "/root/websites/django-tutorial/virtual-envs/biostar/lib/python2.7/site-packages/django/utils/", line 40, in import_module
  File "/root/websites/django-tutorial/virtual-envs/biostar/lib/python2.7/site-packages/django_extensions/management/commands/", line 9, in <module>
    from import generate_graph_data, generate_dot
  File "/root/websites/django-tutorial/virtual-envs/biostar/lib/python2.7/site-packages/django_extensions/management/", line 16, in <module>
    from django.apps import apps
ImportError: No module named apps

Login before adding your answer.

Powered by the version 1.5.2