-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from petebankhead/0.4
Convert docs to markdown
- Loading branch information
Showing
103 changed files
with
8,315 additions
and
8,950 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,3 @@ | ||
.DS_Store | ||
|
||
_build/** |
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
# Command line | ||
|
||
QuPath is *mostly* designed to be an interactive application, and this remains the main priority. | ||
|
||
However, v0.2.0 introduces a new command line, which makes it possible to: | ||
|
||
- Launch QuPath with specific options (e.g. a logging level) | ||
- Run scripts headlessly | ||
- Convert images to OME-TIFF | ||
|
||
:::{tip} | ||
The order in which command line arguments are passed can be important. | ||
See [this forum post](https://forum.image.sc/t/unexpected-command-line-usage-in-0-2-0-m10-and-greater/38548/2). | ||
::: | ||
|
||
## Viewing command line options | ||
|
||
The general way to view the command line options is with: | ||
|
||
```bash | ||
QuPath-0.2.0 --help | ||
``` | ||
|
||
However, there are some platform-specific details on Windows and Mac. | ||
|
||
### Windows | ||
|
||
On Windows, there are two executable files for QuPath. | ||
It is necessary to use *"QuPath (console).exe"* here to be able to view the output, e.g. | ||
|
||
```bash | ||
"QuPath-0.2.0 (console).exe" --help | ||
``` | ||
|
||
:::{figure} images/command_line_win.png | ||
:align: center | ||
:class: shadow-image | ||
:width: 80% | ||
::: | ||
|
||
### Mac | ||
|
||
On macOS, the executable is buried inside the `.app` file and therefore you need something like: | ||
|
||
```bash | ||
./QuPath-0.2.0.app/Contents/MacOS/QuPath-0.2.0 --help | ||
``` | ||
|
||
:::{figure} images/command_line_mac.png | ||
:align: center | ||
:width: 95% | ||
::: | ||
|
||
## Subcommands | ||
|
||
Some of the command line functionality is available via *subcommands*, such as `script`. | ||
Help is available for these separately. | ||
|
||
```bash | ||
QuPath-0.2.0 script --help | ||
``` | ||
|
||
:::{figure} images/command_line_mac_script.png | ||
:align: center | ||
:width: 95% | ||
::: |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.