da2bd44b73
modernize and reformat with clang-tidy and clang-format
2024-07-04 11:17:54 -04:00
5f4a80d41f
remove obsolete unittest code specific to handling the case of lammps exceptions disabled
2023-04-16 12:34:47 -04:00
3c4b0a0c04
expand homepage checker tool to check a few more folders and apply updates
2022-10-24 10:58:39 -04:00
ed0af32fce
properly initialize Atom class member and avoid side effects during write data
2022-09-11 22:11:22 -04:00
3b6a06fcf5
small behavior tweaks for inputs without labelmap, add warnings about type offsets
2022-09-06 18:18:44 -04:00
4f3f2412fb
replace Input::readtype() with utils::expand_type()
2022-09-05 06:16:18 -04:00
75e897b2fe
new utility function "utils::expand_type" to convert type labels to numeric strings
2022-09-05 05:45:31 -04:00
53d82056ce
add molecule file tests with type labels
2022-09-04 21:09:43 -04:00
f956530f0d
add labelmap tests for bonds/angles/dihedrals/impropers
2022-09-04 17:51:06 -04:00
26e1b7c44d
add UTF-8 substitution and detection
2022-09-04 06:45:11 -04:00
ad8a931fe4
revise/refacor Type Label section parsing and Atoms section parsing
...
- do not ignore numeric type in Type Label sections
- refuse invalid numeric types that will overflow arrays
- check for duplicate numeric type entries or non-unique labels
- better error messages
- use Tokenizer class instead of sscanf()
2022-09-04 01:01:36 -04:00
389c87ab7e
apply utils::is_type() to labelmap command
2022-09-03 23:26:56 -04:00
81b0cec887
improve death tests
2022-09-03 20:26:38 -04:00
bb45137b1a
small tweaks to support type labels with single and double quotes. add tests
2022-09-03 19:04:24 -04:00
d43051d07c
allow '#' character in type labels. support also when reading Atoms section
2022-09-03 16:48:39 -04:00
8d9adeef16
clarify comments
2022-09-03 14:13:38 -04:00
fa1584cc17
add "labelmap clear" command, update docs
2022-09-03 12:38:07 -04:00
849b41f67a
more basic tests
2022-09-03 11:47:16 -04:00
e43a8ac8c3
add basic unit tests for labelmap command
2022-09-03 11:14:01 -04:00