add test for yaml dump style

This commit is contained in:
Axel Kohlmeyer
2022-04-07 02:43:39 -04:00
parent 98b908387f
commit 3970942028
3 changed files with 60 additions and 5 deletions

View File

@ -21,7 +21,7 @@ import re, yaml
try:
from yaml import CSafeLoader as Loader, CSafeDumper as Dumper
except ImportError:
from yaml import SafeLoader as Loader, SafeDumper as Dumper
from yaml import SafeLoader as Loader, SafeDumper as Dumper
class LogFile:
"""Reads LAMMPS log files and extracts the thermo information