This page will look better in a graphical browser that supports web standards, but is accessible to any browser or internet device.

Served by Samwise.

NSR Model Database Information!

This page contains information relavant for (on site) internal use.

Updating a model that exists in the NSR database and website:

Below lists the steps in updating a JSim project file and/or updating associated web pages of a NSR model.

  1. Confirm you have a JSim project file that conforms to the following standard:

  2. JSim project format guidlines

    Note: you can still update a model in the database if it does not follow the guidlines but it will require explicit creation of various text files.
  3. Log in as user webmodel and go to ~/NSR/modelname directory.

  4. Update model information as needed within the model subdirectory.

    Update any files with new or updated information (html files, text files, pdfs, project files, etc)
    Note: You cannot change the existing model number, modelnumber.txt must already exist in the subdirectory.
  5. Run the script at the command line to extract updated information from JSim project file.

    This needs to be run only if edits occured in JSim project file. If only changing .html or .txt files then this step is not necessary.
    Example usage: Transp3.Comp2F.proj
  6. Run the script at the command line to update model information in the NSR database.

    Example: updateModel "comments about update" The "comments.." part is optional, it is used for the CVS check-in.
  7. Check if CVS check-in worked.

    If the updateModel script gives a CVS error then the JSim project file changes will have to be added to CVS by hand:
    cvs commit -m "comments about update" modelname.proj.
    You can confirm changes by looking at the CVS web interface at: Physiome web models in CVS , and finding the subdirectory that contains the model you just updated.

More information about adding the model to the website:

Files checked and information updated during the above process:

[This page was last modified 18Mar14, 9:18 am.]

Model development and archiving support at provided by the following grants: NIH U01HL122199 Analyzing the Cardiac Power Grid, 09/15/2015 - 05/31/2020, NIH/NIBIB BE08407 Software Integration, JSim and SBW 6/1/09-5/31/13; NIH/NHLBI T15 HL88516-01 Modeling for Heart, Lung and Blood: From Cell to Organ, 4/1/07-3/31/11; NSF BES-0506477 Adaptive Multi-Scale Model Simulation, 8/15/05-7/31/08; NIH/NHLBI R01 HL073598 Core 3: 3D Imaging and Computer Modeling of the Respiratory Tract, 9/1/04-8/31/09; as well as prior support from NIH/NCRR P41 RR01243 Simulation Resource in Circulatory Mass Transport and Exchange, 12/1/1980-11/30/01 and NIH/NIBIB R01 EB001973 JSim: A Simulation Analysis Platform, 3/1/02-2/28/07.