-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFormat-Converter.xml
More file actions
47 lines (40 loc) · 1.42 KB
/
Format-Converter.xml
File metadata and controls
47 lines (40 loc) · 1.42 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<WaNoTemplate>
<WaNoMeta>
<Author>
<Name> Celso R. C. Rego </Name>
<Email>celsorego@kit.edu</Email>
</Author>
<Description>
This WaNo uses ASE technology to convert a file from x to y
format, e.g., .xyz to .cif or vice-versa. See the options below.
</Description>
<Keyword>format</Keyword>
</WaNoMeta>
<WaNoRoot name="Format-Converter">
<WaNoFile logical_filename="Input-File" name="Input-File">/home/celso/Wanos_2020/Files-Converter/mol_1.vasp</WaNoFile>
<WaNoDropDown name="Input-Format">
<Entry id="0" chosen="True">xyz</Entry>
<Entry id="1">cif</Entry>
<Entry id="2">pdb</Entry>
<Entry id="3">vasp</Entry>
</WaNoDropDown>
<WaNoString name="Output-File-Name" description="The file extension will be according to the chosen format"></WaNoString>
<WaNoDropDown name="Output-Format">
<Entry id="0" chosen="True">xyz</Entry>
<Entry id="1">cif</Entry>
<Entry id="2">pdb</Entry>
<Entry id="3">vasp</Entry>
</WaNoDropDown>
</WaNoRoot>
<WaNoExecCommand>
source /home/ws/gt5111/miniconda3/etc/profile.d/conda.sh
conda activate
python files_converter.py
</WaNoExecCommand>
<WaNoInputFiles>
<WaNoInputFile logical_filename="files_converter.py">files_converter.py</WaNoInputFile>
</WaNoInputFiles>
<WaNoOutputFiles>
<WaNoOutputFile>{{ wano["Output-File-Name"] + "." +wano["Output-Format"] }}</WaNoOutputFile>
</WaNoOutputFiles>
</WaNoTemplate>