File tree Expand file tree Collapse file tree 4 files changed +4
-14
lines changed
docs/source/getting_started Expand file tree Collapse file tree 4 files changed +4
-14
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ Tools for machine learnt interatomic potentials
2020
2121- Python >= 3.10
2222- ASE >= 3.24
23- - mace-torch = 0.3.9
23+ - mace-torch = 0.3.10
2424- chgnet = 0.3.8 (optional)
2525- matgl = 1.1.3 (optional)
2626- sevenn = 0.10.3 (optional)
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ Dependencies
99
1010- Python >= 3.10
1111- ASE >= 3.24
12- - mace-torch = 0.3.9
12+ - mace-torch = 0.3.10
1313- chgnet = 0.3.8 (optional)
1414- matgl = 1.1.3 (optional)
1515- sevenn = 0.10.3 (optional)
Original file line number Diff line number Diff line change @@ -67,17 +67,7 @@ def preprocess(
6767 if logger and "foundation_model" in options :
6868 logger .info ("Fine tuning model: %s" , options ["foundation_model" ])
6969
70- # Parse options from config, as MACE cannot read config file yet
71- args = []
72- for key , value in options .items ():
73- if isinstance (value , bool ):
74- if value is True :
75- args .append (f"--{ key } " )
76- else :
77- args .append (f"--{ key } " )
78- args .append (f"{ value } " )
79-
80- mlip_args = mace_parser ().parse_args (args )
70+ mlip_args = mace_parser ().parse_args (["--config" , str (mlip_config )])
8171
8272 if logger :
8373 logger .info ("Starting preprocessing" )
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ readme = "README.md"
2727dependencies = [
2828 " ase<4.0,>=3.24" ,
2929 " codecarbon<3.0.0,>=2.5.0" ,
30- " mace-torch==0.3.9 " ,
30+ " mace-torch==0.3.10 " ,
3131 " numpy<2.0.0,>=1.26.4" ,
3232 " phonopy<3.0.0,>=2.23.1" ,
3333 " pyyaml<7.0.0,>=6.0.1" ,
You can’t perform that action at this time.
0 commit comments