Skip to content

Commit

Permalink
ci:drop:python:3.13::rdkit
Browse files Browse the repository at this point in the history
[ci skip]
  • Loading branch information
YaoYinYing committed Oct 9, 2024
1 parent 7162271 commit 4985c01
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 7 deletions.
4 changes: 3 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ ENV https_proxy=http://a100-internal.yaoyy.moe:10089
ENV all_proxy=http://a100-internal.yaoyy.moe:10089
ENV GITHUB_ROSETTA_TEST=YES

RUN apt-get update -y && apt-get install git curl wget -y
RUN apt-get update -y && apt-get install git curl wget -y \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

RUN python -m pip config set global.index-url https://mirrors.bfsu.edu.cn/pypi/web/simple \
&& python -m pip install --no-cache-dir --upgrade pip \
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ jobs:
- "3.10"
- "3.11"
- "3.12"
- "3.13"

uses: YaoYinYing/action-python/.github/workflows/[email protected]
with:
Expand Down
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ print(f"Full Path: {rosetta_binary.full_path}")
### Wrapping the Rosetta

```python
# Imports
from RosettaPy import Rosetta, RosettaScriptsVariableGroup, RosettaEnergyUnitAnalyser,

# Create a Rosetta object with the desired parameters
rosetta = Rosetta(
Expand All @@ -161,8 +163,8 @@ rosetta = Rosetta(
job_id=...,
)

# Create tasks for each variant
tasks = [
# Run with the Rosetta tasks
tasks = [ # Create tasks for each variant
{
"rsv": RosettaScriptsVariableGroup.from_dict(
{
Expand All @@ -177,9 +179,13 @@ tasks = [
for variant in variants
]

# Run the Rosetta tasks
# Run the tasks
rosetta.run(inputs=tasks)

# Or create a distributed runs with structure labels (-nstruct)
options=[...] # Passing an optional list of options that will be used to all structure models
rosetta.run(nstruct=nstruct, inputs=options)

# Analyze the results
analyser = RosettaEnergyUnitAnalyser(score_file=rosetta.output_scorefile_dir)
best_hit = analyser.best_decoy
Expand All @@ -191,7 +197,7 @@ print(analyser.df.sort_values(by=analyser.score_term))

print("-" * 79)

print(f'Best Hit on this Rosetta run: {best_hit["decoy"]} - {best_hit["score"]}: {pdb_path}')
print(f'Best Hit on this run: {best_hit["decoy"]} - {best_hit["score"]}: {pdb_path}')
#
```

Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ classifiers = [
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13"
]
requires-python = ">=3.8"
dynamic = ["version"]
Expand Down

0 comments on commit 4985c01

Please sign in to comment.