@@ -53,8 +53,8 @@ public void tearDown() {}
53
53
54
54
@ BeforeClass
55
55
public static void loadConformerData () {
56
- String filename = "data/mdl/ pcoretest1.sdf" ;
57
- InputStream ins = PharmacophoreMatcherTest .class .getClassLoader (). getResourceAsStream (filename );
56
+ String filename = "pcoretest1.sdf" ;
57
+ InputStream ins = PharmacophoreMatcherTest .class .getResourceAsStream (filename );
58
58
IteratingMDLConformerReader reader = new IteratingMDLConformerReader (ins ,
59
59
SilentChemObjectBuilder .getInstance ());
60
60
if (reader .hasNext ()) conformers = (ConformerContainer ) reader .next ();
@@ -216,8 +216,8 @@ public void testInvalidQuery() throws CDKException {
216
216
217
217
@ Test
218
218
public void testCNSPcore () throws CDKException , IOException {
219
- String filename = "data/mdl/ cnssmarts.sdf" ;
220
- InputStream ins = PharmacophoreMatcherTest .class .getClassLoader (). getResourceAsStream (filename );
219
+ String filename = "cnssmarts.sdf" ;
220
+ InputStream ins = PharmacophoreMatcherTest .class .getResourceAsStream (filename );
221
221
IteratingSDFReader reader = new IteratingSDFReader (ins , SilentChemObjectBuilder .getInstance ());
222
222
223
223
PharmacophoreQuery query = new PharmacophoreQuery ();
@@ -245,8 +245,8 @@ public void testCNSPcore() throws CDKException, IOException {
245
245
246
246
@ Test
247
247
public void testMatchingBonds () throws CDKException , IOException {
248
- String filename = "data/mdl/ cnssmarts.sdf" ;
249
- InputStream ins = PharmacophoreMatcherTest .class .getClassLoader (). getResourceAsStream (filename );
248
+ String filename = "cnssmarts.sdf" ;
249
+ InputStream ins = PharmacophoreMatcherTest .class .getResourceAsStream (filename );
250
250
IteratingSDFReader reader = new IteratingSDFReader (ins , SilentChemObjectBuilder .getInstance ());
251
251
252
252
PharmacophoreQuery query = new PharmacophoreQuery ();
@@ -281,8 +281,8 @@ public void testMatchingBonds() throws CDKException, IOException {
281
281
282
282
@ Test
283
283
public void testAngleMatch1 () throws Exception {
284
- String filename = "data/mdl/ cnssmarts.sdf" ;
285
- InputStream ins = PharmacophoreMatcherTest .class .getClassLoader (). getResourceAsStream (filename );
284
+ String filename = "cnssmarts.sdf" ;
285
+ InputStream ins = PharmacophoreMatcherTest .class .getResourceAsStream (filename );
286
286
IteratingSDFReader reader = new IteratingSDFReader (ins , SilentChemObjectBuilder .getInstance ());
287
287
288
288
PharmacophoreQuery query = new PharmacophoreQuery ();
@@ -306,8 +306,8 @@ public void testAngleMatch1() throws Exception {
306
306
307
307
@ Test
308
308
public void testAngleMatch2 () throws Exception {
309
- String filename = "data/mdl/ cnssmarts.sdf" ;
310
- InputStream ins = PharmacophoreMatcherTest .class .getClassLoader (). getResourceAsStream (filename );
309
+ String filename = "cnssmarts.sdf" ;
310
+ InputStream ins = PharmacophoreMatcherTest .class .getResourceAsStream (filename );
311
311
IteratingSDFReader reader = new IteratingSDFReader (ins , SilentChemObjectBuilder .getInstance ());
312
312
313
313
PharmacophoreQuery query = new PharmacophoreQuery ();
@@ -404,8 +404,8 @@ public void multiSmartsQuery() throws IOException, CDKException {
404
404
PharmacophoreMatcher matcher = new PharmacophoreMatcher ();
405
405
matcher .setPharmacophoreQuery (query );
406
406
407
- String filename = "data/pcore/ multismartpcore.sdf" ;
408
- InputStream ins = PharmacophoreMatcherTest .class .getClassLoader (). getResourceAsStream (filename );
407
+ String filename = "multismartpcore.sdf" ;
408
+ InputStream ins = PharmacophoreMatcherTest .class .getResourceAsStream (filename );
409
409
IteratingSDFReader reader = new IteratingSDFReader (ins , SilentChemObjectBuilder .getInstance ());
410
410
411
411
IAtomContainer mol = (IAtomContainer ) reader .next ();
0 commit comments