Skip to content

Commit f4ff456

Browse files
jjgaoandreasprlic
authored andcommitted
/* Demo code to run the above methods */
1 parent 8651cce commit f4ff456

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

_wikis/BioJava:CookBook3:ModFinder.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ public static void main(String[] args) {
6666
`       }`
6767

6868
`       // identify all phosphosites from PDB:3MVJ and print them`
69-
`       String pdbId = "3MVJ";`
70-
`       Structure struc = reader.getStructureById(pdbId);`
69+
`       pdbId = "3MVJ";`
70+
`       struc = reader.getStructureById(pdbId);`
7171
`       List`<ResidueNumber>` psites = identifyPhosphosites(struc);`
7272
`       for (ResidueNumber psite : psites) {`
7373
`           System.out.println(psite.toString());`

_wikis/BioJava:CookBook3:ModFinder.mediawiki

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ public static void main(String[] args) {
5050
}
5151

5252
// identify all phosphosites from PDB:3MVJ and print them
53-
String pdbId = "3MVJ";
54-
Structure struc = reader.getStructureById(pdbId);
53+
pdbId = "3MVJ";
54+
struc = reader.getStructureById(pdbId);
5555
List<ResidueNumber> psites = identifyPhosphosites(struc);
5656
for (ResidueNumber psite : psites) {
5757
System.out.println(psite.toString());

0 commit comments

Comments
 (0)