Last active
February 2, 2018 16:14
-
-
Save MichaelCurrie/00073eeb33a629eaf7d375e283f49d62 to your computer and use it in GitHub Desktop.
Run wconviewer standalone
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You can view WCON files at: | |
movement.openworm.org/wconviewer | |
But until the HTML5 fix is in, you have to upload and then download the file, which is awkward. Instead: | |
1. Clone movement validation | |
2. Start -> Run -> cmd -> navigate to C:\Users\Fling\Documents\GitHub\movement_cloud\webworm | |
3. Run `python ..\utilities\upload_handler.py` | |
4. Navigate to run templates/webworm/wconViewer-template.html | |
5. Add the following lines to the top of templates/webworm/wconViewer-template.html | |
``` | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<link rel="stylesheet" type="text/css" href="../../static/webworm/WCON_viewer.css" media="screen" /> | |
<script type="text/javascript"> | |
var wconFilePath = "../../static/webworm/example.wcon"; | |
</script> | |
<!-- Dependencies --> | |
<script src="../../static/extern/dist/d3.v4.min.js"></script> | |
<script src="../../static/extern/dist/babel.min.js"></script> | |
<script src="../../static/extern/dist/dropzone.js"></script> | |
<script src="../../static/extern/dist/ajv.min.js"></script> | |
<!-- Local --> | |
<script src="../../static/webworm/wormviz_parameters.js"></script> | |
<script src="../../static/webworm/WCON_viewer_helpers.js"></script> | |
<script src="../../static/webworm/WCON_viewer.js"></script> | |
</head> | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment