Skip to content
This repository was archived by the owner on Sep 23, 2025. It is now read-only.

Commit 07b9c30

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 8dbcd13 commit 07b9c30

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

reproducibility_project/mdmc_ethanol_subproject/src/engines/lammps-VU/hbond_analysis_overall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ def main():
131131
avg_r, avg_theta, avg_map_output, levels=levels, cmap=cmap
132132
)
133133
plt.xlabel(r"$r$" + r" ($\mathrm{\AA}$)", fontsize=xlabelfs)
134-
plt.ylabel("\u03B8 (degrees)", fontsize=ylabelfs)
134+
plt.ylabel("\u03b8 (degrees)", fontsize=ylabelfs)
135135
plt.xlim([2.2, 3.5])
136136
plt.ylim([125, 180])
137137
cbar = plt.colorbar(cs)

reproducibility_project/mdmc_ethanol_subproject/src/engines/lammps-VU/hbond_analysis_perjob.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def hbond(job):
9696
cmap=cmap,
9797
)
9898
plt.xlabel("r (nm)")
99-
plt.ylabel("\u03B8 (degrees)")
99+
plt.ylabel("\u03b8 (degrees)")
100100
plt.xlim([0.2, 0.4])
101101
plt.ylim([140, 180])
102102
plt.colorbar()

reproducibility_project/mdmc_ethanol_subproject/src/engines/lammps-VU/hbond_elliptical.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def calualateHBMap(
261261
>>> sel_oxygen_head = 'name O5' ; sel_hydrogen = 'name H1 or name H2' ; sel_oxygen_tail = 'name O5'; list_names_hydrogen = ["H1", "H2"] ; list_names_oxygen_head = ["O5"] ; list_names_oxygen_tail = ["O5"]
262262
>>> rdf_output, inter_output, map_output,hbond,hbond_time = calualateHBMap(traj, r_cutoff, nbins_r, nbins_a, skip_every_x_frames, sel_oxygen_head, sel_oxygen_tail, sel_hydrogen, list_names_hydrogen, list_names_oxygen_head, list_names_oxygen_tail)
263263
>>> #Plotting
264-
>>> plt.figure() ; cmap = plt.get_cmap('jet') ; plt.figure(figsize=(5, 3)) ; plt.style.use('default'); levels = np.linspace(0,10,11) ; cs = plt.contourf(rdf_output[0], inter_output[0], map_output,levels = levels, cmap=cmap) ; plt.xlabel('r (nm)') ; plt.ylabel('\u03B8 (degrees)') ; plt.xlim([0.2, 0.4]) ; plt.ylim([140, 180]) ; plt.colorbar()
264+
>>> plt.figure() ; cmap = plt.get_cmap('jet') ; plt.figure(figsize=(5, 3)) ; plt.style.use('default'); levels = np.linspace(0,10,11) ; cs = plt.contourf(rdf_output[0], inter_output[0], map_output,levels = levels, cmap=cmap) ; plt.xlabel('r (nm)') ; plt.ylabel('\u03b8 (degrees)') ; plt.xlim([0.2, 0.4]) ; plt.ylim([140, 180]) ; plt.colorbar()
265265
266266
"""
267267
bond_diction, top = create_bond_dict(

reproducibility_project/mdmc_ethanol_subproject/src/engines/mcccs/hbond_analysis_overall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ def main():
132132
avg_r, avg_theta, avg_map_output, levels=levels, cmap=cmap
133133
)
134134
plt.xlabel(r"$r$" + r" ($\mathrm{\AA}$)", fontsize=xlabelfs)
135-
plt.ylabel("\u03B8 (degrees)", fontsize=ylabelfs)
135+
plt.ylabel("\u03b8 (degrees)", fontsize=ylabelfs)
136136
plt.xlim([2.2, 3.5])
137137
plt.ylim([125, 180])
138138
cbar = plt.colorbar(cs)

reproducibility_project/mdmc_ethanol_subproject/src/engines/mcccs/hbond_analysis_perjob.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def hbond(job):
100100
cmap=cmap,
101101
)
102102
plt.xlabel("r (nm)")
103-
plt.ylabel("\u03B8 (degrees)")
103+
plt.ylabel("\u03b8 (degrees)")
104104
plt.xlim([0.2, 0.4])
105105
plt.ylim([140, 180])
106106
plt.colorbar()

reproducibility_project/mdmc_ethanol_subproject/src/engines/mcccs/hbond_elliptical.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ def calualateHBMap(
261261
>>> sel_oxygen_head = 'name O5' ; sel_hydrogen = 'name H1 or name H2' ; sel_oxygen_tail = 'name O5'; list_names_hydrogen = ["H1", "H2"] ; list_names_oxygen_head = ["O5"] ; list_names_oxygen_tail = ["O5"]
262262
>>> rdf_output, inter_output, map_output,hbond,hbond_time = calualateHBMap(traj, r_cutoff, nbins_r, nbins_a, skip_every_x_frames, sel_oxygen_head, sel_oxygen_tail, sel_hydrogen, list_names_hydrogen, list_names_oxygen_head, list_names_oxygen_tail)
263263
>>> #Plotting
264-
>>> plt.figure() ; cmap = plt.get_cmap('jet') ; plt.figure(figsize=(5, 3)) ; plt.style.use('default'); levels = np.linspace(0,10,11) ; cs = plt.contourf(rdf_output[0], inter_output[0], map_output,levels = levels, cmap=cmap) ; plt.xlabel('r (nm)') ; plt.ylabel('\u03B8 (degrees)') ; plt.xlim([0.2, 0.4]) ; plt.ylim([140, 180]) ; plt.colorbar()
264+
>>> plt.figure() ; cmap = plt.get_cmap('jet') ; plt.figure(figsize=(5, 3)) ; plt.style.use('default'); levels = np.linspace(0,10,11) ; cs = plt.contourf(rdf_output[0], inter_output[0], map_output,levels = levels, cmap=cmap) ; plt.xlabel('r (nm)') ; plt.ylabel('\u03b8 (degrees)') ; plt.xlim([0.2, 0.4]) ; plt.ylim([140, 180]) ; plt.colorbar()
265265
266266
"""
267267
bond_diction, top = create_bond_dict(

0 commit comments

Comments
 (0)