Skip to content
Snippets Groups Projects
Commit 32eadec2 authored by Marcin Kirsz's avatar Marcin Kirsz
Browse files

WIP: Structure Readers

parent c7acefc1
No related branches found
No related tags found
No related merge requests found
Pipeline #52420 failed
......@@ -1780,18 +1780,13 @@ int TadahCLI::sub_swriter() {
int TadahCLI::sub_sreader() {
if (rank!=0) return 0;
CLI::Timer timer_tot{"Structure Reader", CLI::Timer::Big};
/*boost::to_upper(format);*/
/*std::cout << "Format: " << format << std::endl;*/
auto reader = StructureReaderSelector::getReader(in_file);
std::cout << "Reader loaded " << std::endl;
/*if (convert->count("--numeric"))*/
/* reader->set_precision(outprec);*/
reader->read(in_file);
std::cout << "Reader parse done " << std::endl;
Structure s = reader->getStructure();
std::cout << "Reader getStructure() done " << std::endl;
for (auto &atom : s) {
std::cout << atom << std::endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment