Skip to content

Latest commit

 

History

History
66 lines (41 loc) · 5.11 KB

CREATING_MODEL_REPOSITORY.md

File metadata and controls

66 lines (41 loc) · 5.11 KB

Creating a new model repository.

  1. If you are an OSP community member: create a model repository as described in step 3.

  2. Otherwise (in case you are not an OSP community member): post an Issue in the Forum and ask to create an empty model repository for you. For this, please provide the information below (s. step 3 for the details).

    • name of your model (e.g. Midazolam, check if already exists, otherwise use another name)

    • short description of the model repository (e.g. Whole-body PBPK model of midazolam as CYP3A4 DDI victim drug)

    • repository topics (e.g. pbpk, pbpd, ddi, pediatrics, ...)

    As soon as an empty model repository is created: continue with step 4.

  3. Creating a model repository:

    • Please create one repository per substance (where possible)

    • Repository name: <Substance>-Model (e.g. Midazolam-Model)

    • Initialize Repository with Readme (see screenshot below)

    • (Optional) short description of the Repository

      UploadModel_02

    • Define Repository-topics:

      • Mandatory topic for model repositories: osp-model
      • Further topics: Optional. Topics are free text; however try to use predefined topics if available. Some predefined topics are:
        • pbpk
        • pbpd
        • pk-sim
        • mobi
        • ddi
        • pediatrics

UploadModel_03

  1. Create a so called Fork of the OSP Model repository. This will create your own personal copy of the OSP repository, where you can upload and modify files (this copy is still public and visible to everybody). S. https://guides.github.com/activities/forking/ for more details.

    UploadModel_04
  2. To upload files in your fork, just click on the “upload files” button and select your local files (this works for files <=25 MB. For files between 25 and 100 MB use the command line )

    • If you need to modify a file: you can do it locally and simply upload the modified file version. It will automatically overwrite the previous version.

  3. Every model repository must contain project snapshots of all PK-Sim projects and ideally also the projects itself. Also a description of the repository in the README.md file (s. step 7.). E.g. UploadModel_05

  4. README.md is written in the Markdown-Format (s. here and here for details.). It can be edited directly on GitHub in your Fork of a model repository when you click on the Edit button.

  5. When you are finished with uploading files and Readme in your fork of the model repository, you must create a so called Pull Request (PR). This is so to say a proposal for the OSP to integrate your work back into the the original repository. For this, click on the “Code” tab first and then on “New pull Request”.

  1. On the next page, click on "Create Pull Request".

  1. On the next page you can optionally select reviewers for your PR. Finally, click on “Create Pull Request” button.

UploadModel_08

Now somebody from the OSP maintainers team can integrate your work backt into the OSP (or ask you for changes if e.g. something needs to be modified before the PR can be accepted).