Weekly Summary
- Patched Back Links Macro
- See ProcessingObjects for an example using
[[BackLinksMenu]]
- While patching figured out how to modify wiki macros and recompile them etc… so I modified BackLinks to automatically be embedded in a collapsible structure instead of appearing next to the
[[PageOutline]]
- After you modify the source code in BackLinksMacro.py you have to:
- compile the source python code to generate a .pyc file.
- restart the web server to refresh the cached versions of the plugin
johannjc@clover plugins > emacs BackLinksMenu.py -nw johannjc@clover plugins > python Python 2.6.6 (r266:84292, Sep 15 2010, 16:22:56) [GCC 4.4.5] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import py_compile >>> py_compile.compile("BackLinksMenu.py") >>> exit() johannjc@clover plugins > sudo apachectl restart
- Also some plugins are packaged as egg files in which case you have to first unzip them - make the changes, compile, and then rezip them. Some egg files are not rezippable, but should have a setup.py script that you can pass to easy_install that should create the egg.
- See ProcessingObjects for an example using
- I couldn't find an easy way to add
[[BackLinksMenu]]
to every wiki page, but did learn about page templates.- Template pages can be created in the Template sub directory. Currently there are three template pages
- PageTemplates/Templates - for any random page
- PageTemplates/TestTemplate - for test problems
- PageTemplates/ProjectPage - for new project pages
- When you create a NewPage you can select any of the existing templates as a starting point.
- All of these templates have the
[[PageOutline]]
and[[BackLinksMenu]]
macros already.
- Template pages can be created in the Template sub directory. Currently there are three template pages
- Reopened ticket #127 after running higher res versions of the field loop advection.
- Added references to IICool to external links page as well as a link to the old astrobear site at the bottom of WikiStart
- Fixed carbuncles appearing in RadiativeInstability test problems #178 and updated the bear2fix.data.img file to show more than just the coarsest grid and modified the problem module to trigger refinement before the first step near the right edge.
- Made various code improvements
- Added CellsPerJeansLength variable which allows users to adjust the jeans-length based refinement. Was previously a parameter = 4. Can be adjusted inside of a users problem module init - not in physics.data
- Duplicated the TestMacro that Matt wrote and had it use a directory on clover instead of the test repository when generating images etc… This enables folks to immediately see the output of the current test on the web before the code gets committed etc… Also added the test results from the last version of the code checked in to the official repository to AstroBearTesting.
- Pondered the Fedderrath particle creation tests
- Met with Eric to discuss GravoTurbulent sim params. Also have a 1024 core reservation that just started this afternoon.
- Running colliding flow sims on kure.
Attachments (1)
- CollidingFlows83.png (171.3 KB) - added by 13 years ago.
Download all attachments as: .zip
Comments
No comments.