Skip to content

Commit 94776e9

Browse files
committed
more clean up
1 parent 254377d commit 94776e9

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

‎rbfe_tutorial/cli_tutorial.md‎

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,8 @@ While less flexible than using the API, some options can be modified by providin
130130
The default settings represented in YAML settings format is as follows:
131131

132132
``` yaml
133-
mapper: kartograf
133+
mapper:
134+
method: kartograf
134135
settings:
135136
atom_max_distance: 0.95
136137
atom_map_hydrogens: true
@@ -191,7 +192,7 @@ Parsing in Files:
191192
Using Options:
192193
Mapper: <LomapAtomMapper (time=20, threed=True, max3d=1.0, element_change=True, seed='', shift=False)>
193194
Mapping Scorer: <function default_lomap_score at 0x166bc5300>
194-
Network Generation: <function generate_minimal_spanning_network at 0x16a413e20>
195+
Network Generation: <function generate_maximal_network at 0x16a413e20>
195196
Partial Charge Generation: nagl
196197
197198
n_protocol_repeats=1 (1 simulation repeat(s) per transformation)
@@ -232,8 +233,8 @@ for file in network_setup/transformations/*.json; do
232233
relpath=${file:30} # strip off "network_setup/transformations/"
233234
dirpath=${relpath%.*} # strip off final ".json"
234235
# loop over three repeats
235-
for repeat in {1..3}; do
236-
openfe quickrun $file -o results/repeat${repeat}/$relpath -d results/repeat${repeat}/$dirpath
236+
for repeat in {0..2}; do
237+
openfe quickrun $file -o results_$repeat/$relpath -d results_$repeat/$dirpath
237238
done
238239
done
239240
```
@@ -248,9 +249,9 @@ and submit a job script for the simplest SLURM use case:
248249
for file in network_setup/transformations/*.json; do
249250
relpath=${file:30} # strip off "network_setup/transformations/"
250251
dirpath=${relpath%.*} # strip off final ".json"
251-
for repeat in {1..3}; do
252+
for repeat in {0..2}; do
252253
jobpath="network_setup/transformations/${dirpath}_${repeat}.job"
253-
cmd="openfe quickrun $file -o results/repeat${repeat}/$relpath -d results/repeat${repeat}/$dirpath"
254+
cmd="openfe quickrun $file -o results_${repeat}/$relpath -d results_${repeat}/$dirpath"
254255
echo -e "#!/usr/bin/env bash\n${cmd}" > $jobpath
255256
sbatch $jobpath
256257
done
@@ -276,7 +277,7 @@ The structure should look something like this:
276277
<!-- take the top lines from `tree results` -->
277278
```text
278279
results
279-
├── replicate_0
280+
├── results_0
280281
│   ├── rbfe_lig_ejm_31_complex_lig_ejm_42_complex
281282
│   │   ├── shared_RelativeHybridTopologyProtocolUnit-79c279f04ec84218b7935bc0447539a9_attempt_0
282283
│   │   │   ├── checkpoint.nc

0 commit comments

Comments
 (0)