|
1 | 1 | <script> |
2 | 2 | import { goto } from '$app/navigation'; |
3 | | - import { page } from '$app/stores'; |
4 | 3 | import { AlertError } from '$lib/common/errors'; |
5 | 4 | import StandardErrorAlert from '$lib/components/common/StandardErrorAlert.svelte'; |
6 | 5 |
|
|
39 | 38 |
|
40 | 39 | async function createProject() { |
41 | 40 | const randomPart = new Date().getTime(); |
42 | | - const userInfo = $page.data.userInfo; |
43 | | - const projectName = `test_${userInfo.username || userInfo.id}_${randomPart}`; |
| 41 | + const projectName = `test_${randomPart}`; |
44 | 42 |
|
45 | 43 | stepMessage = `Creating project ${projectName}`; |
46 | 44 |
|
|
196 | 194 | <div> |
197 | 195 | <h1 class="fw-light mb-3">Job submission healthcheck</h1> |
198 | 196 |
|
199 | | - <div class="row"> |
| 197 | + <p>This page performs the following steps:</p> |
| 198 | + |
| 199 | + <ul> |
| 200 | + <li>creates a project with name <code>test_{random_integer}</code>;</li> |
| 201 | + <li>creates a dataset, with the provided zarr directory;</li> |
| 202 | + <li>creates a workflow;</li> |
| 203 | + <li> |
| 204 | + if not existing, creates a non-parallel task with a source named |
| 205 | + <code>job_submission_health_check</code>, with <code>command_non_parallel="echo"</code>. |
| 206 | + </li> |
| 207 | + <li>adds the task to the workflow;</li> |
| 208 | + <li>submits the workflow;</li> |
| 209 | + <li> |
| 210 | + if all up to here was successful, redirects to the workflow page; if anything failed, stops the |
| 211 | + procedure and displays an error. |
| 212 | + </li> |
| 213 | + </ul> |
| 214 | + |
| 215 | + <div class="row mt-4"> |
200 | 216 | <div class="col"> |
201 | 217 | <div class="input-group mb-3" class:has-validation={invalidZarrDir}> |
202 | 218 | <label class="input-group-text" for="zarrDir">Zarr directory</label> |
|
0 commit comments