Skip to content

Commit

Permalink
Merge pull request #100 from MLH-Fellowship/bug-fix
Browse files Browse the repository at this point in the history
Bug fix in tests.json
  • Loading branch information
saum7800 authored Feb 26, 2021
2 parents 421629d + 37c72e4 commit 53ced2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
setup (
name = 'torchblaze',
description = 'A CLI-based python package that provides a suite of functionalities to perform end-to-end ML using PyTorch.',
version = '1.0.2',
version = '1.0.3',
packages = find_packages(), # list of all packages
install_requires = install_requires,
python_requires='>=3.7.0',
Expand Down
2 changes: 1 addition & 1 deletion torchblaze/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def startproject(project: str):
# same creation logic as the .gitignore file
f = os.path.join(root_dir, "tests.json")
with open(f, "w+") as writefile:
writefile.writelines(pkg_resources.resource_string('torchblaze', 'template_files/tests.txt').decode('utf-8').split('\n'))
writefile.write(pkg_resources.resource_string('torchblaze', 'template_files/tests.txt').decode('utf-8'))


# same creation logic as the .gitignore file
Expand Down

0 comments on commit 53ced2c

Please sign in to comment.