Skip to content

Commit

Permalink
Reload echem data by default, unless disabled (#840)
Browse files Browse the repository at this point in the history
* Reload echem data by default, unless disabled

* Bump navani to 0.1.7
  • Loading branch information
ml-evs authored Aug 15, 2024
1 parent ffd3647 commit bf42f6c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion pydatalab/Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ flask-compress = "*"
pillow = "*"
tiktoken = "~= 0.7, < 0.8"
galvani = "~= 0.4"
navani = {git = "git+https://github.com/the-grey-group/[email protected].6"}
navani = {git = "git+https://github.com/the-grey-group/[email protected].7"}
NewareNDA = ">= 2024"
python-dateutil = "*"
pybaselines = "*"
Expand Down
4 changes: 2 additions & 2 deletions pydatalab/Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pydatalab/pydatalab/apps/echem/blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def _get_characteristic_mass_g(self):
return characteristic_mass_mg / 1000.0
return None

def _load(self, file_id: Union[str, ObjectId], reload: bool = False):
def _load(self, file_id: Union[str, ObjectId], reload: bool = True):
"""Loads the echem data using navani, summarises it, then caches the results
to disk with suffixed names.
Expand Down

0 comments on commit bf42f6c

Please sign in to comment.