Skip to content

Commit

Permalink
bug fix for -l flag
Browse files Browse the repository at this point in the history
  • Loading branch information
N720720 committed Jan 26, 2022
1 parent 7fb9b84 commit 31cbdea
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Expand Up @@ -620,4 +620,4 @@ MigrationBackup/
lindemann_per_frame.txt
lindemann_per_frame.pdf
lindemann_per_atom.txt

get-poetry.py
2 changes: 1 addition & 1 deletion lindemann/main.py
Expand Up @@ -146,7 +146,7 @@ def main(
elif lammpstrj and single_process:
indices_per_atom = per_atoms.calculate(tjr_frames)

console.print(f"[magenta]{save.to_lammps(trjfile,indices_per_atom)}[/]")
console.print(f"[magenta]{save.to_lammps(str(trjfile[0]),indices_per_atom)}[/]")
raise typer.Exit()
elif lammpstrj and not single_process:
print("multiprocessing is implemented only for the -t flag")
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -6,7 +6,7 @@ build-backend = "poetry.masonry.api"

[tool.poetry]
name = "lindemann"
version = "0.5.0"
version = "0.5.1"
description = "lindemann is a python package to calculate the Lindemann index of a lammps trajectory as well as the progression of the Lindemann index per frame of temperature ramps for phase transition analysis."
readme = "README.md"
authors = [
Expand Down

0 comments on commit 31cbdea

Please sign in to comment.