Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yuukiiwa committed Nov 22, 2023
1 parent 39ee8aa commit 923d4fc
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion xpore/test/test_diffmod.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,16 @@
@pytest.fixture
def diffmod_args():
class DiffmodArgs:
config = os.path.join(os.path.abspath(os.path.dirname(__file__)), "data/config.yml")
#config = os.path.join(os.path.abspath(os.path.dirname(__file__)), "data/config.yml")
outfile=open('neues_config.yml','w')
for ln in open(os.path.join(os.path.abspath(os.path.dirname(__file__)), "data/config.yml"),'r'):
if 'rep1' in ln:
ln=ln.split(':')
outfile.write(': '.join([ln[0], os.path.join(os.path.abspath(os.path.dirname(__file__)),ln[-1].strip())]))
else:
outfile.write(ln)
outfile.close()
config = os.path.join(os.getcwd(),'neues_config.yml')
n_processes = 2
save_models = False
resume = False
Expand Down

0 comments on commit 923d4fc

Please sign in to comment.