Question: viewing biostar github code with graphviz
gravatar for bicepjai
19 months ago by
bicepjai0 wrote:

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
ADD COMMENTlink modified 19 months ago • written 19 months ago by bicepjai0
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1324 users visited in the last hour