generated from jnooree/c-like-templ
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(fmt/mmcif): implement MMCif parser (#444)
* perf(fmt/pdb): reserve one more for name * feat(fmt/cif): allow default-construction of CifValue * feat(fmt/mmcif): implement MMCif parser * feat(fmt/mmcif): improve conversion failure log message * feat(fmt/mmcif): test for null value before conversion * feat(fmt/mmcif): set molecule name * feat(fmt/mmcif): parse _struct_conn table * test(fmt/mmcif): add basic parsing test * fix(fmt/mmcif): fix alternate location handling * feat(fmt/mmcif): improve log messages * test(fmt/mmcif): add alternate location test * fix(fmt/mmcif): return models in order of appearance * test(fmt/mmcif): test for multiple models and altlocs * refactor(fmt/pdb,mmcif): merge shared logic * test(fmt/pdb,mmcif): add testcase for insertion code * fix(fmt): cleanup headers
- Loading branch information
Showing
10 changed files
with
4,600 additions
and
145 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
// | ||
// Project NuriKit - Copyright 2025 SNU Compbio Lab. | ||
// SPDX-License-Identifier: Apache-2.0 | ||
// | ||
|
||
#ifndef NURI_FMT_MMCIF_H_ | ||
#define NURI_FMT_MMCIF_H_ | ||
|
||
/// @cond | ||
#include <vector> | ||
/// @endcond | ||
|
||
#include "nuri/core/molecule.h" | ||
#include "nuri/fmt/cif.h" | ||
|
||
namespace nuri { | ||
std::vector<Molecule> mmcif_read_next_block(CifParser &parser); | ||
} | ||
|
||
#endif /* NURI_FMT_MMCIF_H_ */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.