Skip to content

Commit

Permalink
modified main paths
Browse files Browse the repository at this point in the history
  • Loading branch information
rsexton2 committed Feb 22, 2024
1 parent 08fb56d commit 0ffcc51
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion basicrta/gibbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ def __init__(self, contacts, nproc=1, ncomp=15, niter=50000):
self.contacts = pickle.load(f)
self.cutoff = float(contacts.strip('.pkl').split('/')[-1].split('_')[-1])
self.niter, self.nproc, self.ncomp = niter, nproc, ncomp
os.chdir(f'basicrta-{cutoff}')



def run(self, run_resids=None):
Expand Down Expand Up @@ -384,5 +386,4 @@ def estimate_tau(self):

contact_path = os.path.abspath(args.contacts)
cutoff = args.contacts.split('/')[-1].strip('.pkl').split('_')[-1]
os.chdir(f'basicrta-{cutoff}')
ParallelGibbs(contact_path).run(run_resids=args.resid)

0 comments on commit 0ffcc51

Please sign in to comment.