Skip to content

Commit 79798f0

Browse files
committed
removed un-necessary get_taus() call in cluster.py CLI script
Manually integrated remaining changes from PR #47. Co-authored by: Rekha Joshi <[email protected]>
1 parent c610f03 commit 79798f0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ The rules for this file:
1919

2020
### Authors
2121
* @orbeckst
22+
* @rjoshi44
2223

2324
### Fixed
2425
* Fixed setting of gskip in ProcessProtein/cluster.py command line interface:

basicrta/cluster.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ def _single_residue(self, adir, process=False):
7171
if ggskip < 1:
7272
ggskip = 1
7373
warnings.warn(f"WARNING: gskip={self.gskip} is less than g={g.g}, setting gskip to 1")
74-
# NOTE:Gibbs.gskip is the multiplier for Gibbs.g (the save interval) and the gskip
75-
# here is the total skip interval for the Gibbs sampler: gskip = g.g * g.gskip
74+
# NOTE: Gibbs samples are saved every g.g steps, then sub-sampled by g.gskip
75+
# Total skip interval = g.g * g.gskip, giving niter // (g.g * g.gskip) independent samples
7676
g.gskip = ggskip # process every g.g * g.gskip samples from full chain
7777
g.burnin = self.burnin
7878
g.process_gibbs()
@@ -252,6 +252,5 @@ def b_color_structure(self, structure):
252252
pp = ProcessProtein(args.niter, args.prot, args.cutoff,
253253
gskip=args.gskip, burnin=args.burnin)
254254
pp.reprocess(nproc=args.nproc)
255-
pp.get_taus()
256255
pp.write_data()
257256
pp.plot_protein(label_cutoff=args.label_cutoff)

0 commit comments

Comments
 (0)