Skip to content

Commit

Permalink
generate points function is modified
Browse files Browse the repository at this point in the history
  • Loading branch information
nhananoop committed Aug 6, 2024
1 parent 030a81a commit 1bc5927
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 242 deletions.
2 changes: 1 addition & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/pyar.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyar/scripts/pyar-clustering
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ if len(input_files) < 2:
mols = []
for each_file in input_files:
mol = Molecule.from_xyz(each_file)
mol.energy = pyar.data_analysis.clustering.read_energy_from_xyz_file(each_file)
mol.energy = pyar.data_analysis.clustering_file(each_file)
mols.append(mol)

pyar.data_analysis.clustering.plot_energy_histogram(mols)
Expand Down
5 changes: 2 additions & 3 deletions pyar/scripts/pyar-tabu
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def tabu_function():
tabu_on = args.tabu == 'y:'
grid_on = False
pts = pyar.tabu.generate_points(number_of_trial_orientations,
tabu_on, grid_on, False)
tabu_on, d_threshold=1.0)
if args.plot:
pyar.tabu.plot_points(pts, os.getcwd())

Expand All @@ -86,8 +86,7 @@ def tabu_function():
if args.make_composite:
for i in range(8):
pts = pyar.tabu.generate_points(number_of_trial_orientations,
tabu_on=True, grid_on=True,
check_angle=False)
tabu_on=True, d_threshold=1.0)
result = pyar.tabu.create_composite_molecule(seed, monomer,
pts, d_scale=d_scale)
result.title = f"trial_{i:03d}"
Expand Down
Loading

0 comments on commit 1bc5927

Please sign in to comment.