Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Commit

Permalink
fixed test generate
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoRenaud committed Apr 6, 2020
1 parent 1e61cda commit 0810416
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions test/test_generate.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os
import unittest
from time import time

import shutil
from deeprank.generate import *


Expand Down Expand Up @@ -247,7 +247,14 @@ def test_6_align_interface(self):

def test_7_realign(self):
'''Realign existing pdbs.'''
database = DataGenerator(hdf5='./1ak4.hdf5')

src_name = './1ak4.hdf5'
copy_name = './1ak4_aligned.hdf5'

os.remove(copy_name)
shutil.copy(src_name,copy_name)

database = DataGenerator(hdf5=copy_name)
database.realign_complexes(align={'axis':'z'})


Expand Down

0 comments on commit 0810416

Please sign in to comment.