Skip to content

Commit 0a4025d

Browse files
Update janus_core/calculations/phonons.py
Co-authored-by: Elliott Kasoar <[email protected]>
1 parent 36284a5 commit 0a4025d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

janus_core/calculations/phonons.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ def __init__(
291291

292292
# Handle deprecation
293293
if force_consts_to_hdf5 is not None:
294-
if hdf5:
294+
if hdf5 is False:
295295
raise ValueError(
296296
"""`force_consts_to_hdf5`: has replaced `hdf5`.
297297
Please only use `hdf5`"""

0 commit comments

Comments
 (0)