Skip to content

Commit

Permalink
remove assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
jgreener64 committed Oct 6, 2023
1 parent 0f99f85 commit 69912b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions docs/src/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,6 @@ So if you wanted the graph of chain contacts in a protein complex you could give
## Assigning secondary structure

The secondary structure code of a residue or atom can be accessed after assigning the secondary structure using [DSSP](https://github.com/PDB-REDO/dssp) or [STRIDE](https://webclu.bio.wzw.tum.de/stride).

To assign secondary structure when reading the structure:
```julia
# Assign secondary structure using DSSP
Expand All @@ -437,10 +436,10 @@ The secondary structure code of a residue can be changed using [`sscode!`](@ref)

[`rundssp`](@ref) and [`runstride`](@ref) can also be run directly on structure files:
```julia
rundssp("/path/to/pdb/file.pdb", "out.dssp") # Also works with mmCIF
rundssp("/path/to/pdb/file.pdb", "out.dssp") # Also works with mmCIF files
runstride("/path/to/pdb/file.pdb", "out.stride")
```
See the documentation for [DSSP_jll](https://docs.juliahub.com/General/DSSP_jll/stable/autodocs) and [STRIDE_jll](https://docs.juliahub.com/General/STRIDE_jll/stable/autodocs) for other ways to run these programs.
See the documentation for [DSSP_jll](https://docs.juliahub.com/General/DSSP_jll/stable/autodocs) and [STRIDE_jll](https://docs.juliahub.com/General/STRIDE_jll/stable/autodocs), and also [ProteinSecondaryStructures.jl](https://github.com/m3g/ProteinSecondaryStructures.jl), for other ways to run these programs.

## Downloading PDB files

Expand Down
1 change: 0 additions & 1 deletion src/secondary.jl
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ function runstride!(mod::Model)

# Run STRIDE on the temporary PDB file
stride_output_lines = readlines(pipeline(`$stride_executable $tmp_pdb_path`))
@assert length(stride_output_lines) > 1
rm(tmp_pdb_path)

for line in stride_output_lines
Expand Down

2 comments on commit 69912b5

@jgreener64
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/92926

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v2.1.0 -m "<description of version>" 69912b5b188dfa00b323455bf99b018cde5eca95
git push origin v2.1.0

Please sign in to comment.