m3apps.dev.json 1.94 KB
Newer Older
1
2
3
[
  { "url": null,
    "name": "Desktop",
4
    "startscript": "#!/bin/bash\n/usr/local/sv2/dev/desktop/desktop.slurm\n ",
5
6
7
8
9
10
    "actions": [ 
        {
            "name": "Connect",
            "paramscmd": "/usr/local/sv2/dev/desktop/params.py {jobid}",
            "client": {"cmd": null, "redir": "vnc.html?password={password}" },
            "states": ["RUNNING"]
Chris Hines's avatar
Chris Hines committed
11
12
13
14
15
        },
        {
            "name": "View log",
            "paramscmd": "/usr/local/sv2/dev/desktop/logparams.py {jobid}",
            "client": {"cmd": null, "redir": "index.html?token={token}" },
16
17
18
19
20
21
22
            "states": ["RUNNING","Finished"]
        },
        {
            "name": "Remove log",
            "paramscmd": "/usr/local/sv2/dev/rmlog.py {jobid}",
            "client": null,
            "states": ["Finished"]
23
24
        }
    ],
25
26
27
28
29
30
    "localbind": true,
    "applist": null
  },
 {
   "url": null,
   "name": "Jupyter Lab",
31
   "startscript": "#!/bin/bash\n/usr/local/sv2/dev/jupyter/jupyter.slurm\n",
32
33
34
   "actions": [ 
       {
           "name": "Connect",
Chris Hines's avatar
Chris Hines committed
35
           "paramscmd": "/usr/local/sv2/dev/jupyter/jupyter_params.py {jobid}",
36
37
           "client": {"cmd": null, "redir": "?token={token}"},
           "states": ["RUNNING"]
38
39
40
41
42
43
44
45
46
47
48
49
       },
       {
           "name": "View log",
           "paramscmd": "/usr/local/sv2/dev/desktop/logparams.py {jobid}",
           "client": {"cmd": null, "redir": "index.html?token={token}" },
           "states": ["RUNNING","Finished"]
       },
       {
           "name": "Remove log",
           "paramscmd": "/usr/local/sv2/dev/rmlog.py {jobid}",
           "client": null,
           "states": ["Finished"]
50
       }
51

52
   ],
53
54
55
56
57
58
59
   "localbind": true,
   "applist": null
  },
  {
    "url": null,
    "name": "CryoSPARC",
    "startscript": null,
60
61
62
63
64
65
    "actions": [ {
        "name": "Connect",
        "paramscmd": "/usr/local/sv2/dev/cryosparc/cryosparc_params.py",
        "client": {"cmd": null, "redir": ""}
    }],

66
67
68
69
    "localbind": true,
    "applist": null
  }
]