Skip to content

Commit 36284a5

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

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
@@ -290,7 +290,7 @@ def __init__(
290290
self.enable_progress_bar = enable_progress_bar
291291

292292
# Handle deprecation
293-
if force_consts_to_hdf5:
293+
if force_consts_to_hdf5 is not None:
294294
if hdf5:
295295
raise ValueError(
296296
"""`force_consts_to_hdf5`: has replaced `hdf5`.

0 commit comments

Comments
 (0)