Skip to content

Commit

Permalink
refactored importing
Browse files Browse the repository at this point in the history
  • Loading branch information
benranderson committed Jun 9, 2018
1 parent 9eb7b5a commit 0173217
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions wallthick/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@

__author__ = """Ben Randerson"""
__email__ = 'ben.m.randerson@email.com'
__version__ = '0.0.4'
__version__ = '0.0.6'

from .pd8010 import *
from .pd8010 import Pd8010
4 changes: 2 additions & 2 deletions wallthick/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import click
import json

from wallthick.pd8010 import Pd8010
import wallthick

req_inputs = [
't_sel',
Expand Down Expand Up @@ -38,7 +38,7 @@ def main(inputs):
if all(param in data for param in req_inputs):
click.secho(
'Running PD 8010-2 wall thickness calculation...', fg='green')
pd = Pd8010(data)
pd = wallthick.Pd8010(data)
click.echo(f'\nNominal Wall Thicknesses')
click.echo(f'------------------------')
click.echo(f'Pressure Containment:\t{1000*pd.t_h:.3f} mm')
Expand Down

0 comments on commit 0173217

Please sign in to comment.