This tutorial explains how to create a project that other tutorials will use. Further all tutorials assume you are working with this project.
In case you find something described in this tutorial unfamiliar, see section Introduction for general information on pSeven interface and functions.
Every workflow in pSeven is a part of some project. A project can contain multiple workflows and provides a database to store workflow results. Projects are also used to organize files — for example, keeping related workflows and their input data together.
From the technical point of view, a project is just a directory containing a few special files that allow pSeven to recognize this directory as a project. Aside from that, there are no real restrictions on project contents: the project directory can contain any number of workflows and reports, data files, executables and so on. There is no special import function for additional files — you can simply open the project directory and copy the files into it.
When you create a project, you only need to select its name and location. In general, new projects can be located anywhere, but for a tutorial it is recommended to create a project in the default workspace directory.
- Click button to open the default workspace directory in the Filesystem pane.
To verify, see if the directory named Examples-6.11 exists there — it contains example projects which are automatically created by pSeven in the default workspace directory.
- Click the Create project button to start a project. This button opens the Create Project dialog . You can also select File ‣ Create Project from the main menu.
- Input your project name (Tutorials) in the dialog, and leave the location default.
- Click .
After you click in the Create Project dialog, the new project opens automatically. New projects have a default description explaining how to edit the contents of the Project Description tab.
Project description uses CommonMark syntax. You can also add formulas to the Project or Workflow descriptions using \(KaTeX\) markup. Formulas are represented within the display math environment \($$...$$\). The list of other supported functions can be found here.
A new project contains the main project file (project.p7prj) and two files you can edit — the project description (README.md) and thumbnail (README.png).
The system files are shown only in the Filesystem pane and must not be edited. The Project pane shows only the files that can be edited in pSeven — such as the project description, workflows, reports and data files.
Since pSeven project is a directory, there is no save function for it as such. You can safely close the project after editing it; if pSeven detects unsaved changes in workflows or reports, you will be informed about it with a save dialog.
- Try closing the project (File ‣ Close Project menu).
After closing the project, pSeven switches back to the Welcome tab (while a project is open, you can also switch between Welcome and Project Description manually). Note that your project is added to the recent list and file attributes (type, size and modification date) are now shown in the tooltip when you select the main project file or the project directory.
- Re-open the project from the recent list or by double-clicking the main project file in the Filesystem pane.
Further tutorials will require some resource files to test the workflows you create. You can copy these files from Examples-6.11 directory: it already contains some data samples and a simple program which will be used later in the Integration Basics tutorial. This is recommended in order to follow the tutorials exactly as they are documented.
- Click on the Filesystem pane toolbar to return to the default workspace directory.
- Open the Examples-6.11 directory.
- Double-click the 2.03 General - Integration project to show its contents. This opens the project directory but does not load the project.
Now you can copy files and directories from Filesystem to Project.
- In the Filesystem pane, select two directories: templates and tools (hold Ctrl or Shift for multiselection).
- Select Copy from the context menu in the Filesystem pane . Selected directories are copied to pSeven clipboard.
- Select Paste from the context menu in the Project pane .
Then repeat above steps for the samples directory in the 2.01 General - Sample-Based Approximation project
Verify the Tutorials project contents.
Once you have a project ready, you can start making tutorial workflows. Note that it is strongly recommended to complete the following tutorials first:
- Simple Workflow: basic workflow editing.
- Workflow as a Tool: additional workflow configuration capabilities.
- Results and Reports: post-processing workflow results.
These tutorials provide a general practical introduction to pSeven and explain common functions which are not detailed in other tutorials.