#include <cctype>
#include <cstdlib>
#include <fstream>
#include <sstream>
#include <stdexcept>
#include <string>
#include <vector>
Go to the source code of this file.
|
| std::string | cppxdic::trim (const std::string &s) |
| | Trim leading/trailing whitespace (spaces, tabs, CR, LF).
|
| |
| std::vector< int > | cppxdic::parseTrialList (const std::string &spec) |
| | Parse a comma/space-separated list of integer trial IDs.
|
| |
| std::vector< int > | cppxdic::readTrialsFile (const std::string &path) |
| | Read a trials file: one trial ID per line.
|
| |
| std::vector< SubjectTrial > | cppxdic::readSubjectTrialCsv (const std::string &path) |
| | Read subject_trial.csv (header "subject,trial") into rows, skipping the header line and any blank/comment lines.
|
| |
| int | cppxdic::slurmArrayTaskId () |
| | Resolve SLURM_ARRAY_TASK_ID from the environment.
|
| |