Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump weas to 0.1.29 #76

Merged
merged 1 commit into from
Nov 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dependencies": {
"dat.gui": "^0.7.9",
"three": "^0.161.0",
"weas": ">=0.1.26"
"weas": ">=0.1.29"
},
"devDependencies": {
"esbuild": "^0.20.0"
Expand Down
10 changes: 5 additions & 5 deletions src/weas_widget/plugins/bond.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ def update_atoms(self):
def get_default_settings(self):
settings = {}
species_dict = self._widget.speciesSettings
for species1, data1 in species_dict.items():
for species2, data2 in species_dict.items():
for specie1, data1 in species_dict.items():
for specie2, data2 in species_dict.items():
if (data1["element"], data2["element"]) not in default_bond_pairs:
continue
bond_type = default_bond_pairs[(data1["element"], data2["element"])][2]
Expand All @@ -48,9 +48,9 @@ def get_default_settings(self):
else:
bond_line_type = 0

settings[f"{species1}-{species2}"] = {
"species1": species1,
"species2": species2,
settings[f"{specie1}-{specie2}"] = {
"specie1": specie1,
"specie2": specie2,
"color1": color1,
"color2": color2,
"min": min,
Expand Down
Loading