Skip to content

Commit

Permalink
structure parser test not failing by default now
Browse files Browse the repository at this point in the history
  • Loading branch information
2AUK committed Nov 5, 2023
1 parent 97f6cd7 commit cf7c60d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ jobs:
profile: minimal
toolchain: stable
override: true
- uses: Swatinem/rust-cache@v2
- name: Install OpenBLAS
run: sudo apt-get install libopenblas-dev gfortran
- uses: actions-rs/cargo@v1
Expand Down
9 changes: 4 additions & 5 deletions src/structure/system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,10 @@ impl System {
}
pub fn parse(input: &str) -> Self {
println!("{}", input);
todo!()
// System {
// species: Vec::new(),
// sites: Vec::new(),
// }
System {
species: Vec::new(),
sites: Vec::new(),
}
}
pub fn iter(&self) -> impl Iterator<Item = &Species> {
self.species.iter()
Expand Down

0 comments on commit cf7c60d

Please sign in to comment.