launch.json 6.6 KB
Newer Older
1
2
3
4
5
6
{
  // Use IntelliSense to learn about possible attributes.
  // Hover to view descriptions of existing attributes.
  // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
  "version": "0.2.0",
  "configurations": [
Markus Scheidgen's avatar
Markus Scheidgen committed
7

8
    {
Markus Scheidgen's avatar
Markus Scheidgen committed
9
      "type": "chrome",
10
      "request": "launch",
Markus Scheidgen's avatar
Markus Scheidgen committed
11
12
13
      "name": "Launch Chrome against localhost",
      "url": "http://localhost:3000",
      "webRoot": "${workspaceFolder}/gui"
14
    },
Markus Scheidgen's avatar
Markus Scheidgen committed
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
    {
      "name": "Python: API Flask (0.11.x or later)",
      "type": "python",
      "request": "launch",
      "module": "flask",
      "env": {
          "FLASK_APP": "nomad/api.py"
      },
      "args": [
          "run",
          "--port", "8000",
          "--no-debugger",
          "--no-reload"
      ]
    },
30
31
32
33
34
35
36
37
38
39
    {
      "name": "Python: worker nomad.processing",
      "type": "python",
      "request": "launch",
      "cwd": "${workspaceFolder}",
      "program": "${workspaceFolder}/.pyenv/bin/celery",
      "args": [
        "worker", "-l" , "debug",  "-A", "nomad.processing"
      ]
    },
40
    {
41
      "name": "Python: some test",
42
43
44
45
46
      "type": "python",
      "request": "launch",
      "cwd": "${workspaceFolder}",
      "program": "${workspaceFolder}/.pyenv/bin/pytest",
      "args": [
47
        "-sv", "tests/test_api.py::TestRepo::test_search[2-user-other_test_user]"
48
49
50
51
52
53
54
55
56
57
58
59
      ]
    },
    {
      "name": "Python: crystal normalizer test",
      "type": "python",
      "request": "launch",
      "cwd": "${workspaceFolder}",
      "program": "${workspaceFolder}/.pyenv/bin/pytest",
      "args": [
        "-sv", "tests/test_normalizing.py::test_normalizer[parsers/crystal-tests/data/parsers/crystal/si.out]"
      ]
    },
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
    {
      "name": "Python: cp2k normalizer test",
      "type": "python",
      "request": "launch",
      "cwd": "${workspaceFolder}",
      "program": "${workspaceFolder}/.pyenv/bin/pytest",
      "args": [
        "-sv", "tests/test_normalizing.py::test_normalizer[parsers/cp2k-tests/data/parsers/cp2k/si_bulk8.out]"
      ]
    },
    {
      "name": "Python: cpmd normalizer test",
      "type": "python",
      "request": "launch",
      "cwd": "${workspaceFolder}",
      "program": "${workspaceFolder}/.pyenv/bin/pytest",
      "args": [
        "-sv", "tests/test_normalizing.py::test_normalizer[parsers/cpmd-tests/data/parsers/cpmd/geo_output.out]"
      ]
    },
80
81
82
83
84
85
86
    {
      "name": "Python: wien2k normalizer test",
      "type": "python",
      "request": "launch",
      "cwd": "${workspaceFolder}",
      "program": "${workspaceFolder}/.pyenv/bin/pytest",
      "args": [
speckhard's avatar
speckhard committed
87
        "-sv", "tests/test_normalizing.py::test_normalizer[parsers/wien2k-tests/data/parsers/wien2k/AlN/AlN_ZB.scf]"
88
89
      ]
    },
Daniel Speckhard's avatar
Daniel Speckhard committed
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
    {
      "name": "Python: gaussian normalizer test",
      "type": "python",
      "request": "launch",
      "cwd": "${workspaceFolder}",
      "program": "${workspaceFolder}/.pyenv/bin/pytest",
      "args": [
        "-sv", "tests/test_normalizing.py::test_normalizer[parsers/gaussian-tests/data/parsers/gaussian/Al.out]"
      ]
    },
    {
      "name": "Python: aniline gaussian normalizer  test",
      "type": "python",
      "request": "launch",
      "cwd": "${workspaceFolder}",
      "program": "${workspaceFolder}/.pyenv/bin/pytest",
      "args": [
        "-sv", "tests/test_normalizing.py::test_normalizer[parsers/gaussian-tests/data/parsers/gaussian/al-1.out]"
      ]
    },
110
111
112
113
114
115
116
117
118
119
    {
      "name": "Python: test_parsing match test",
      "type": "python",
      "request": "launch",
      "cwd": "${workspaceFolder}",
      "program": "${workspaceFolder}/.pyenv/bin/pytest",
      "args": [
        "-sv", "tests/test_parsing.py::test_match"
      ]
    },
120
121
122
123
124
125
126
127
    {
      "name": "Python: nwchem normalizer test h2o sp test",
      "type": "python",
      "request": "launch",
      "cwd": "${workspaceFolder}",
      "program": "${workspaceFolder}/.pyenv/bin/pytest",
      "args": [
        "-sv", "tests/test_normalizing.py::test_normalizer[parsers/nwchem-tests/data/parsers/nwchem/sp_output.out]"
Markus Scheidgen's avatar
Markus Scheidgen committed
128
129
      ]
    },
130
131
132
133
134
135
136
137
138
139
    {
      "name": "Python: Vasp XML test",
      "type": "python",
      "request": "launch",
      "cwd": "${workspaceFolder}",
      "program": "${workspaceFolder}/.pyenv/bin/pytest",
      "args": [
        "-sv", "tests/test_normalizing.py::test_normalizer[parsers/vasp-tests/data/parsers/vasp/vasp.xml]"
      ]
    },
140
    {
Daniel Speckhard's avatar
Daniel Speckhard committed
141
      "name": "Quantum Espresso Normalizer",
142
143
144
145
146
      "type": "python",
      "request": "launch",
      "cwd": "${workspaceFolder}",
      "program": "${workspaceFolder}/.pyenv/bin/pytest",
      "args": [
Daniel Speckhard's avatar
Daniel Speckhard committed
147
        "-sv", "tests/test_normalizing.py::test_normalizer[parsers/quantumespresso-tests/data/parsers/quantum-espresso/W.out]"
148
149
      ]
    },
Daniel Speckhard's avatar
Daniel Speckhard committed
150
151
152
153
154
155
156
157
158
159
    {
      "name": "Abinit Normalizer",
      "type": "python",
      "request": "launch",
      "cwd": "${workspaceFolder}",
      "program": "${workspaceFolder}/.pyenv/bin/pytest",
      "args": [
        "-sv", "tests/test_normalizing.py::test_normalizer[parsers/abinit-tests/data/parsers/abinit/Fe.out]"
      ]
    },
160
161
162
163
164
165
166
167
168
169
    {
      "name": "Castep Normalizer",
      "type": "python",
      "request": "launch",
      "cwd": "${workspaceFolder}",
      "program": "${workspaceFolder}/.pyenv/bin/pytest",
      "args": [
        "-sv", "tests/test_normalizing.py::test_normalizer[parsers/castep-tests/data/parsers/castep/BC2N-Pmm2-Raman.castep]"
      ]
    },
Daniel Speckhard's avatar
Daniel Speckhard committed
170
171
172
173
174
175
176
177
178
179
    {
      "name": "DL-Poly Normalizer",
      "type": "python",
      "request": "launch",
      "cwd": "${workspaceFolder}",
      "program": "${workspaceFolder}/.pyenv/bin/pytest",
      "args": [
        "-sv", "tests/test_normalizing.py::test_normalizer[parsers/dl-poly-tests/data/parsers/dl-poly/OUTPUT]"
      ]
    },
Daniel Speckhard's avatar
Daniel Speckhard committed
180
181
182
183
184
185
186
187
188
189
    {
      "name": "Lib Atoms Normalizer",
      "type": "python",
      "request": "launch",
      "cwd": "${workspaceFolder}",
      "program": "${workspaceFolder}/.pyenv/bin/pytest",
      "args": [
        "-sv", "tests/test_normalizing.py::test_normalizer[parsers/lib-atoms-tests/data/parsers/lib-atoms/gp.xml]"
      ]
    },
Daniel Speckhard's avatar
Daniel Speckhard committed
190
191
192
193
194
195
196
197
198
199
    {
      "name": "Octopus Normalizer",
      "type": "python",
      "request": "launch",
      "cwd": "${workspaceFolder}",
      "program": "${workspaceFolder}/.pyenv/bin/pytest",
      "args": [
        "-sv", "tests/test_normalizing.py::test_normalizer[parsers/octopus-tests/data/parsers/octopus/stdout.txt]"
      ]
    },
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
    {
      "name": "Python: Current File",
      "type": "python",
      "request": "launch",
      "program": "${file}"
    },
    {
      "name": "Python: Attach",
      "type": "python",
      "request": "attach",
      "localRoot": "${workspaceFolder}",
      "remoteRoot": "${workspaceFolder}",
      "port": 3000,
      "secret": "my_secret",
      "host": "localhost"
    }
  ]
}