You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This PR:
- adds a `--secure_pyarrow` command line option to
`pyrosettacluster/dump_env_file.py` to support `PyRosettaCluster`
scorefiles written using `pandas` versions `>=3.0.0`.
- updates documentation strings and a `README.md` file
| `.pkl_pose`, `.pkl_pose.bz2`, `.b64_pose`, `.b64_pose.bz2` | Decoy | | Run `dump_env_file.py` helper _(requires an identical PyRosetta build signature to that used to save the original file)_ |
134
134
| `.json` | Full-record scorefile | Read file → Copy → Paste into new file | Run `dump_env_file.py` helper |
| `.init`, `.init.bz2` | PyRosetta initialization file | | Run `dump_env_file.py` helper _(requires an identical PyRosetta build signature to that used to save the original file)_ |
137
137
138
138
> [!NOTE]
139
139
> **Extraction method #1:** If copy/pasting into a new file, the environment file string is located in the `record["instance"]["environment"]` nested key value of the PyRosettaCluster full record. Please paste it into one of the following file names (as expected in the next step) in a new folder, depending on the environment manager you're using to recreate the environment:
140
140
> | Environment manager | New file name |
141
141
> | --- | --- |
142
142
> | `pixi` | `pixi.lock` |
143
-
> | `uv` | `requirements.txt` |
143
+
> | `uv` | `uv.lock` |
144
144
> | `conda` | `environment.yml` |
145
145
> | `mamba` | `environment.yml` |
146
146
>
@@ -153,7 +153,7 @@ Please refer to the following table to select _one_ environment file extraction
153
153
> Also note the `record["instance"]["sha1"]` nested key value holding the GitHub commit SHA1 required to [reproduce the PyRosettaCluster simulation](#clone-original-repository)!
154
154
155
155
> [!NOTE]
156
-
> **Extraction method #2:** If running `dump_env_file.py`, the `pyrosetta` package (with version `>=2025.47`) and the [PyPI pyrosetta-distributed](https://pypi.org/project/pyrosetta-distributed/) package (for the `pyrosetta.distributed` framework dependencies) must be installed in any existing virtual environment, and that virtual environment's python interpreter used to run the script.
156
+
> **Extraction method #2:** If running `dump_env_file.py`, the `pyrosetta` package (with version `>=2025.47`) and the [PyPI pyrosetta-distributed](https://pypi.org/project/pyrosetta-distributed/) package (for the `pyrosetta.distributed` framework dependencies) must be installed in any existing virtual environment, and that virtual environment's python interpreter used to run the script. If extracting from a `.pkl_pose`, `.pkl_pose.bz2`, `.b64_pose`, `.b64_pose.bz2`, `.init` or `.init.bz2` file, the PyRosetta build signature _must be identical_ to that used to save the original decoy file or initialization file, otherwise an exception or segmentation fault may occur.
157
157
>
158
158
> Also note the printed GitHub commit SHA1 required to [reproduce the PyRosettaCluster simulation](#clone-original-repository)!
159
159
@@ -168,7 +168,7 @@ Run `python recreate_env.py` to recreate the virtual environment.
168
168
> This script runs a subprocess with one of the following commands:<br>
169
169
> - `conda env create ...`: when using the `conda` environment manager<br>
170
170
> - `mamba env create ...`: when using the `mamba` environment manager<br>
171
-
> - `uv pip sync ...`: when using the `uv` environment manager<br>
171
+
> - `uv sync ...`: when using the `uv` environment manager<br>
172
172
> - `pixi install ...`: when using the `pixi` environment manager<br>
173
173
> Installing certain packages may not be secure, so please only run with an input environment file you trust!<br>
174
174
> Learn more about [PyPI security](https://pypi.org/security) and [conda security](https://www.anaconda.com/docs/reference/security).
0 commit comments