edp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
edp [2023/08/15 11:53] – edit | edp [2024/03/21 18:39] (current) – edit | ||
---|---|---|---|
Line 111: | Line 111: | ||
- First edit the script **format.py**. Edit the LIPID_NAMES and LIPID_ABBRS lists. The script automatically changes the .cmp and.sim files, but this can be changed by editing the FILE_ENDINGS list. One side effect is that the comments at the start of the file will also be targeted by the regex, but this effect is minimal. The script will substitute all ' | - First edit the script **format.py**. Edit the LIPID_NAMES and LIPID_ABBRS lists. The script automatically changes the .cmp and.sim files, but this can be changed by editing the FILE_ENDINGS list. One side effect is that the comments at the start of the file will also be targeted by the regex, but this effect is minimal. The script will substitute all ' | ||
- | - Next, edit the script **generate_excel_file.py**. Edit the LIPIDS list to add the lipid.sim files you want to compile. If in the previous step you generated new files, make sure to set USE_NEW_FILES to True. If this is the first time you have run this, you will need to install xlsxwriter for python. Do this with the following command: **pip install --user XlsxWriter**. Then, run the script with **python generate_excel_file.py** | + | - Next, edit the script **generate_excel_file.py**. Edit the LIPIDS list to add the lipid.sim files you want to compile. If in the previous step you generated new files, make sure to set USE_NEW_FILES to True. If this is the first time you have run this, you will need to install xlsxwriter for python. Do this with the following command: **pip install |
- This will generate an excel file titled **sim_data.xlsx** along with .csv files for each lipid. | - This will generate an excel file titled **sim_data.xlsx** along with .csv files for each lipid. | ||
**Old method of renaming atoms and compiling in an excel file** | **Old method of renaming atoms and compiling in an excel file** |
edp.1692114803.txt.gz · Last modified: 2023/08/15 11:53 by edit