Skip to content

Commit

Permalink
resolving missing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Martina Gerbino authored and JesusTorrado committed Mar 5, 2025
1 parent 0415069 commit 2ee4d0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cobaya/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,9 @@ def install(*infos, **kwargs):
package_install = info.get("package_install") or {}
# If a class_name AND pip install were specified, make sure the class name is
# used. Otherwise the pip package would be inferred from the alias.
if(package_install == "pip"):
if (package_install == "pip"):
package_install = {"pip": None}
if("pip" in package_install and package_install["pip"] is None):
if ("pip" in package_install and package_install["pip"] is None):
package_install["pip"] = class_name
min_version = package_install.get('min_version')

Expand Down

0 comments on commit 2ee4d0b

Please sign in to comment.