Skip to content

Commit

Permalink
Updated the prediction method for udocker
Browse files Browse the repository at this point in the history
  • Loading branch information
leschultz committed Feb 13, 2024
1 parent da74d6a commit 47e0286
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Package information
name = 'madml'
version = '2.3.8' # Need to increment every time to push to PyPI
version = '2.3.9' # Need to increment every time to push to PyPI
description = 'Application domain of machine learning in materials science.'
url = 'https://github.com/leschultz/'\
'materials_application_domain_machine_learning.git'
Expand Down
1 change: 1 addition & 0 deletions src/madml/hosting/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ def predict(self, df):
command = 'udocker --allow-root run -v '
command += '{}:/mnt '.format(os.getcwd())
command += self.container
command += ' python3 model_predict.py'

subprocess.check_output(
command,
Expand Down

0 comments on commit 47e0286

Please sign in to comment.