Giter Site home page Giter Site logo

physio_mist's Introduction

Physio_MIST
Mark Caral, Sara Cummins, BarbaraJoy Jones

REQUIREMENTS
JDK 6 Update 17: http://java.sun.com/javase/downloads/index.jsp
	The directory containing jvm.dll must be in the user's PATH environment variable.
NUnit: http://www.nunit.org/index.php
Open Physio_MIST.sln in Visual Studio and build the project.

QUERY REQUIREMENTS
MySQL 5.0 and the JDBC: http://dev.mysql.com/downloads/connector/j/5.0.html
Make a database named "fma_owl_3"
Make a MySQL user "fma_test" with the password set to "test" with full privileges on the FMA database.
Unzip the fma3.0.owl.zip file in the QuerySystem directory and run DB_Builder.java
Building the database can take a significant amount of time, but only needs to be done once.

LOADING MODELS
Select File->Load from the main menu.
Browse for the desired file (either an MML text file or an XML file conforming to the Physio_MIST schema) and click the Open button.
A sample model (meal_model.xml) is located in the source directory.

SAVING MODELS
Select File->Save from the main menu.
Enter the desired file name and click the Save button.

EDITING MODELS
Select an item in either the Parameter or Variable tables and click the Edit button. Input must conform to the MML standard, except for the Anatomical Structure and the Description fields.

QUERYING
Select the desired structure in the ontology tree. Right click and select "Find Related Structures..." then select the desired relationship type and click the Run Query button.

physio_mist's People

Contributors

velociraptors avatar jleedev avatar silvermoonnbeam avatar zenophon avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

zenophon

physio_mist's Issues

MML Parser mangles whitespace

The MML parser strips whitespace as it processes a file. Since if/else/elseif blocks can be delimited by whitespace, the regex won't find those keywords if the block isn't wrapped in parentheses or brackets. For example:
"Y = if (X=0) A+B
else A_C"
becomes "if(X=0)A+BelseA_C" and the validation tries to find a parameter/variable named 'BelseA' and fails.
The alternative is to remove the word boundaries from the regex (or add the keywords to the separators passed to String->Split), but this erroneously strips keywords from variable names. ("x_abs" becomes "x_" and validation fails.)

functional tests

this should be several separate issues, but they need to be finished

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.