https://github.com/jborrow/run-from-spreadsheet
Generate a set of SWIFT parameter files and submission scripts from a spreadsheet
https://github.com/jborrow/run-from-spreadsheet
Last synced: 3 months ago
JSON representation
Generate a set of SWIFT parameter files and submission scripts from a spreadsheet
- Host: GitHub
- URL: https://github.com/jborrow/run-from-spreadsheet
- Owner: JBorrow
- Created: 2020-06-04T09:00:13.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-06-06T09:02:29.000Z (almost 5 years ago)
- Last Synced: 2024-12-27T06:41:30.289Z (5 months ago)
- Language: Python
- Size: 16.6 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Generates runs based on a spreadshseet provided, with
individual directories.The spreadsheet should be organised as follows:
Run ID | EagleSection:Param | EagleSection:Param2 | ... | Comment
-------|--------------------|---------------------|-----|----------
Hello | 0.1 | 0.2 | ... | Good run!
... | ... | ... | ... | ...This will then generate directories for each of the Run IDs,
changing the selected parameters to the new values based on a
'base' parameter file.You can also generate submission scripts, with a template
that uses the following special parameters+ `$SWIFT_PATH` - the path to the SWIFT executable
+ `$RUN_ID` - ID for the run
+ `$PARAMETER_FILE` - the parameter file nameDon't forget to change the directory paths in your
parameter file to include a relative change to one directory
higher (e.g. `../output_list.txt`).Finally, you can create a submission script to run VELOCIraptor on your
outputs in postprocessing by using the `create_vr_slurm_scripts.py` file.
Note that this assumes that you run it from the same directory as the others
(i.e. one above the `Run ID` directories that `create_parameter_files.py`
created).