Code Monkey home page Code Monkey logo

openmdao-xdsm's People

Contributors

dependabot[bot] avatar naylor-b avatar onodip avatar relf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

openmdao-xdsm's Issues

'Can't find pdflatex, so a pdf can't be generated.'

I did install the pdflatex package, but still get the feedback 'Can't find pdflatex, so a pdf can't be generated.'
I've also tried to import pdflatex in the same file, which didn't help at all.
shutil.which('pdflatex') indeed return None on my computer, but I'm not sure how should I fix it.

TeX doesn't like underscores in names

.tex file halts when the .tikz file contains an unescaped underscore in a component name. E.g. in the Sellar example in the examples folder, the new .tikz contains the name _AutoIVC (when re-generated, current .tikz file is outdated) in line 57. Suggest ensuring underscores are always escaped.

Auto-IVC (IndepVarComp)

Hello,

Due to an update to the Auto-IVC (IndepVarComp) functionality in OpenMDAO, there is a new development which will be very useful.
The declaration of independent variables is no longer mandatory in OpenMDAO. Without this declaration, it is not possible at the moment to generate the xDSM.
The scripts available in the OpenMDAO help (http://openmdao.org/twodocs/versions/latest/other/auto_ivc_api_translation.html?highlight=ivc) are a very good test.
In OpenMDAO-XDSM, the following error is reported:

Traceback (most recent call last):
File "C:\Users\vambert\workspace\openMDAO_test\prab2.py", line 34, in
write_xdsm(prob, filename='toto', out_format='html', include_solver=True, show_browser=True, quiet=False, output_side='left', legend=True, class_names=False, include_indepvarcomps=False)#, show_parallel=False)
File "C:\Users\vambert\AppData\Local\Continuum\anaconda2\envs\openmdao\lib\site-packages\omxdsm\xdsm_writer.py", line 1272, in write_xdsm
include_indepvarcomps=include_indepvarcomps, **kwargs)
File "C:\Users\vambert\AppData\Local\Continuum\anaconda2\envs\openmdao\lib\site-packages\omxdsm\xdsm_writer.py", line 1570, in _write_xdsm
(comps_dct[src]['is_parallel'] or comps_dct[tgt]['is_parallel'])
KeyError: '@auto@ivc'

Thanks

Best regards

Vincent

No longer works

This package calls the following:

from openmdao.visualization.html_utils import (
write_div,
head_and_body,
write_script,
write_style,
)

but only returns errors as openmdao.visualization.html_utils doesn't seem to exist. Cannot get the tests to work with this either.

Diagram Differences with openmdao 3.3

Hi, just tried the example of omxdsm/examples/sellar_xdsmjs.py using openmdao 3.30. Generated the following diagram which is different from what it was supposed to be shown on the GitHub.

Any guideline for a clearer view?

image

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.