File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
biojava-structure/src/test/java/org/biojava/nbio/structure/io/mmtf Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 1919import org .biojava .nbio .structure .ResidueNumber ;
2020import org .biojava .nbio .structure .Structure ;
2121import org .biojava .nbio .structure .StructureImpl ;
22+ import org .biojava .nbio .structure .io .mmcif .model .ChemComp ;
2223import org .junit .Rule ;
2324import org .junit .Test ;
2425import org .junit .rules .TemporaryFolder ;
@@ -65,6 +66,10 @@ public void testWrite() throws IOException {
6566 chain .setName ("A" );
6667 Group group = new AminoAcidImpl ();
6768 group .setPDBName ("FKF" );
69+ ChemComp chemComp = new ChemComp ();
70+ chemComp .setType ("TYPfdl" );
71+ chemComp .setOne_letter_code ("A" );
72+ group .setChemComp (chemComp );
6873 Atom atom = new AtomImpl ();
6974 atom .setName ("A" );
7075 atom .setElement (Element .Ag );
You can’t perform that action at this time.
0 commit comments