Skip to content

Commit bcbb49e

Browse files
update readme
1 parent 3b4747e commit bcbb49e

File tree

2 files changed

+35
-21
lines changed

2 files changed

+35
-21
lines changed

README.md

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,15 @@ Collection of Fractal task to run Headless ilastik workflows.
99

1010
## Installation and Deployment
1111

12-
* Install the `mamba` package manager
13-
14-
* Download the installation script from this repository
12+
* Install `pixi` package manager [instructions](https://pixi.sh/latest/installation/)
13+
* run the task:
1514

1615
```bash
17-
curl -O https://raw.githubusercontent.com/fractal-analytics-platform/fractal-ilastik-tasks/main/create_env_script.sh
16+
pixi run python some_script.py
1817
```
1918

20-
* The scrip might require some small modifications.
21-
22-
```bash
23-
VERSION="v0.2.0" # Version of the package to install (by default the latest version)
24-
COMMMAND="mamba" # Command to use to create the environment (mamba or conda)
25-
# Location of the environment
26-
# If ENVPREFIX is not NULL, the environment will be created with the prefix $ENVPREFIX/$ENVNAME
27-
# If ENVPREFIX is NULL, the environment will be created in the default location
28-
ENVPREFIX="NULL"
29-
```
19+
if you need to use the `dev` version of the package, you can run:
3020

31-
* Install the package using the installation script
32-
3321
```bash
34-
bash create_env_script.sh
22+
pixi run -e dev python some_script.py
3523
```
36-
37-
The installation script will create a conda environment with the name `fractal-ilastik-tasks` and install the package in the environment. It will also download the correct `__FRACTAL_MANIFEST__.json` file.
38-
39-
* In the fractal web interface add the task to the workflow as a "local env" task.

legacy_instructions.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Installation and Deployment
2+
3+
* Install the `mamba` package manager
4+
5+
* Download the installation script from this repository
6+
7+
```bash
8+
curl -O https://raw.githubusercontent.com/fractal-analytics-platform/fractal-ilastik-tasks/main/create_env_script.sh
9+
```
10+
11+
* The scrip might require some small modifications.
12+
13+
```bash
14+
VERSION="v0.2.0" # Version of the package to install (by default the latest version)
15+
COMMMAND="mamba" # Command to use to create the environment (mamba or conda)
16+
# Location of the environment
17+
# If ENVPREFIX is not NULL, the environment will be created with the prefix $ENVPREFIX/$ENVNAME
18+
# If ENVPREFIX is NULL, the environment will be created in the default location
19+
ENVPREFIX="NULL"
20+
```
21+
22+
* Install the package using the installation script
23+
24+
```bash
25+
bash create_env_script.sh
26+
```
27+
28+
The installation script will create a conda environment with the name `fractal-ilastik-tasks` and install the package in the environment. It will also download the correct `__FRACTAL_MANIFEST__.json` file.
29+
30+
* In the fractal web interface add the task to the workflow as a "local env" task.

0 commit comments

Comments
 (0)