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 5ff922d commit 08fb56d
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 @@ -382,6 +382,7 @@ def estimate_tau(self):
parser.add_argument('--resid', type=int)
args = parser.parse_args()

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

0 comments on commit 08fb56d

Please sign in to comment.