Skip to content

Commit

Permalink
STYLE: Fix line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
jonperdomo committed Apr 9, 2023
1 parent 254eea6 commit 0c091fe
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion src/entry_point.py
Original file line number Diff line number Diff line change
@@ -1 +1,27 @@
"""__main__.py:Call the command-line interface."""import osimport sysfrom os.path import dirname, abspath# Set the library pathlib_dir = os.path.join(os.environ['CONDA_PREFIX'], "lib")sys.path.append(lib_dir)# Set the HDF5 plugin pathparent_dir = dirname(dirname(abspath(__file__)))os.environ['HDF5_PLUGIN_PATH'] = os.path.join(parent_dir, "lib")# Import the command-line interfaceimport clidef main(): cli.main()if __name__ == '__main__': main()
"""
__main__.py:
Call the command-line interface.
"""

import os
import sys
from os.path import dirname, abspath

# Set the library path
lib_dir = os.path.join(os.environ['CONDA_PREFIX'], "lib")
sys.path.append(lib_dir)

# Set the HDF5 plugin path
parent_dir = dirname(dirname(abspath(__file__)))
os.environ['HDF5_PLUGIN_PATH'] = os.path.join(parent_dir, "lib")

# Import the command-line interface
import cli


def main():
cli.main()


if __name__ == '__main__':
main()

0 comments on commit 0c091fe

Please sign in to comment.