Skip to content

Commit

Permalink
Fix missing 'openpyxl' required by pandas
Browse files Browse the repository at this point in the history
  • Loading branch information
jldz9 committed Jul 3, 2024
1 parent cd039ed commit d87ec52
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dynamic= ["version"]
authors = [{name="Jiawei Li", email="[email protected]"}]
description = "A tool box to use for post processing of ttem files generated by Aarhus workbench"
readme = 'Readme.md'
dependencies = ["geopandas", "scipy", "plotly", "requests", "pandas", "numpy"]
dependencies = ["geopandas", "scipy", "plotly", "requests", "pandas", "numpy", "openpyxl"]
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
Expand All @@ -26,4 +26,4 @@ include-package-data = true
[tool.setuptools.package-data]
"ttemtoolbox.defaults" = ['CONFIG']
[tool.setuptools.dynamic]
version = {attr = "ttemtoolbox._version.__version__"}
version = {attr = "ttemtoolbox._version.__version__"}
2 changes: 1 addition & 1 deletion src/ttemtoolbox/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '1.1.1'
__version__ = '1.1.2'
8 changes: 5 additions & 3 deletions src/ttemtoolbox/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ def create_parser():
subparser_water = subparser.add_parser('water')
subparser_water.add_argument('water', metavar='PATH', help = 'Path to config file')
subparser_water.add_argument('-w','--well_no', metavar='str[s]', help='Download specific well number')
subparser_water = subparser.add_parser('connect')
subparser_water.add_argument('connect', metavar='PATH', help = 'Path to config file')
subparser_connect = subparser.add_parser('connect')
subparser_connect.add_argument('connect', metavar='PATH', help = 'Path to config file')

return parser

def cmd_line_parse(iargs=None):
Expand Down Expand Up @@ -239,7 +240,8 @@ def main(iargs=None):

if __name__ == '__main__':
if len(sys.argv) == 1:
sys.argv.append('-h')
print('Use ttemtoolbox -h or ttemtoolbox <ttem/lithology/water/connect> -h to check help manual')
sys.exit[1]
main(sys.argv[1:])


Expand Down

0 comments on commit d87ec52

Please sign in to comment.