@@ -89,8 +89,8 @@ public void testFindMatchingAtomType_IAtomContainer_IAtom() throws Exception {
89
89
90
90
@ Test
91
91
public void testFindMatchingAtomType_IAtomContainer () throws Exception {
92
- String filename = "data/mol2/ atomtyping.mol2" ;
93
- InputStream ins = this .getClass ().getClassLoader (). getResourceAsStream (filename );
92
+ String filename = "atomtyping.mol2" ;
93
+ InputStream ins = this .getClass ().getResourceAsStream (filename );
94
94
Mol2Reader reader = new Mol2Reader (ins );
95
95
IAtomContainer mol = (IAtomContainer ) reader .read (new AtomContainer ());
96
96
@@ -105,8 +105,8 @@ public void testFindMatchingAtomType_IAtomContainer() throws Exception {
105
105
106
106
@ Test
107
107
public void testAtomTyping () throws Exception {
108
- String filename = "data/mol2/ atomtyping.mol2" ;
109
- InputStream ins = this .getClass ().getClassLoader (). getResourceAsStream (filename );
108
+ String filename = "atomtyping.mol2" ;
109
+ InputStream ins = this .getClass ().getResourceAsStream (filename );
110
110
Mol2Reader reader = new Mol2Reader (ins );
111
111
IAtomContainer molecule = (IAtomContainer ) reader .read (new AtomContainer ());
112
112
Assert .assertNotNull (molecule );
@@ -166,8 +166,8 @@ public void testBenzene_AtomContainer() throws Exception {
166
166
167
167
@ Test
168
168
public void testAtomTyping4 () throws Exception {
169
- String filename = "data/mol2/ atomtyping4.mol2" ;
170
- InputStream ins = this .getClass ().getClassLoader (). getResourceAsStream (filename );
169
+ String filename = "atomtyping4.mol2" ;
170
+ InputStream ins = this .getClass ().getResourceAsStream (filename );
171
171
Mol2Reader reader = new Mol2Reader (ins );
172
172
IAtomContainer molecule = (IAtomContainer ) reader .read (new AtomContainer ());
173
173
Assert .assertNotNull (molecule );
@@ -201,8 +201,8 @@ public void testNonExistingType() throws Exception {
201
201
202
202
@ Test
203
203
public void testAtomTyping2 () throws Exception {
204
- String filename = "data/mol2/ atomtyping2.mol2" ;
205
- InputStream ins = this .getClass ().getClassLoader (). getResourceAsStream (filename );
204
+ String filename = "atomtyping2.mol2" ;
205
+ InputStream ins = this .getClass ().getResourceAsStream (filename );
206
206
Mol2Reader reader = new Mol2Reader (ins );
207
207
IAtomContainer molecule = (IAtomContainer ) reader .read (new AtomContainer ());
208
208
Assert .assertNotNull (molecule );
@@ -222,8 +222,8 @@ public void testAtomTyping2() throws Exception {
222
222
223
223
@ Test
224
224
public void testAtomTyping3 () throws Exception {
225
- String filename = "data/mol2/ atomtyping3.mol2" ;
226
- InputStream ins = this .getClass ().getClassLoader (). getResourceAsStream (filename );
225
+ String filename = "atomtyping3.mol2" ;
226
+ InputStream ins = this .getClass ().getResourceAsStream (filename );
227
227
Mol2Reader reader = new Mol2Reader (ins );
228
228
IAtomContainer molecule = (IAtomContainer ) reader .read (new AtomContainer ());
229
229
Assert .assertNotNull (molecule );
0 commit comments