Skip to content

Commit

Permalink
Updates to viscosity
Browse files Browse the repository at this point in the history
  • Loading branch information
SamTov committed Oct 13, 2023
1 parent 46c7a14 commit c03901e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions mdsuite/calculators/green_kubo_viscosity.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,8 +217,8 @@ def _post_operation_processes(self):
result = self.prefactor * np.array(self.sigma)

data = {
"viscosity": result[0],
"uncertainty": result[1],
"viscosity": result[0][0],
"uncertainty": result[1][0],
"time": self.time.tolist(),
"acf": self.jacf.numpy().tolist(),
}
Expand Down
2 changes: 1 addition & 1 deletion mdsuite/database/data_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def __init__(
self.correlation_time = correlation_time
self.atom_selection = atom_selection

def batch_generator( # noqa: C901
def batch_generator(
self,
dictionary: bool = False,
system: bool = False,
Expand Down
2 changes: 1 addition & 1 deletion mdsuite/utils/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class Config:

jupyter: bool = False
bokeh_sizing_mode: str = "stretch_both"
memory_fraction: float = 0.5
memory_fraction: float = 0.8


config = Config()
Expand Down

0 comments on commit c03901e

Please sign in to comment.