Skip to content

Commit

Permalink
trying to fix versioning import
Browse files Browse the repository at this point in the history
  • Loading branch information
carsen-stringer committed Jan 12, 2023
1 parent ffacce8 commit e17ca58
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion cellpose/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
from cellpose.version import version
2 changes: 1 addition & 1 deletion cellpose/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def main():
args = parser.parse_args()

version_str = f"""
cellpose version: \t{version}
cellpose version: \t{version.version}
platform: \t{sys.platform}
python version: \t{python_version()}
torch version: \t{torch.__version__}"""
Expand Down
2 changes: 1 addition & 1 deletion cellpose/gui/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def __init__(self, image=None):

pg.setConfigOptions(imageAxisOrder="row-major")
self.setGeometry(50, 50, 1200, 1000)
self.setWindowTitle(f"cellpose v{version}")
self.setWindowTitle(f"cellpose v{version.version}")
self.cp_path = os.path.dirname(os.path.realpath(__file__))
app_icon = QtGui.QIcon()
icon_path = pathlib.Path.home().joinpath('.cellpose', 'logo.png')
Expand Down

0 comments on commit e17ca58

Please sign in to comment.