Skip to content

Commit bf44f16

Browse files
author
David Stirling
committed
Update logo and manual links
1 parent d6820e0 commit bf44f16

8 files changed

Lines changed: 11 additions & 10 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<div align="center">
2-
<img src="http://i.imgur.com/TmujaUa.png"><br><br>
2+
<img src="https://i.imgur.com/uaEp2md.png"><br><br>
33
</div>
44
-----------------
55

66
| **`Version`** | **`Documentation`** | **`Forum`** |
77
|---------------|----------------|-----------------|
8-
| [![Build Status](https://img.shields.io/badge/version-2.2.1-green.svg)](http://cellprofiler.org/releases) | [![Build Status](https://img.shields.io/badge/documentation-2.2.1-brightgreen.svg)](http://cellprofiler.org/CPA/) | [![Build Status](https://img.shields.io/badge/forum-CPA-blue.svg)](https://forum.image.sc/tag/cellprofiler-analyst) |
8+
| [![Build Status](https://img.shields.io/badge/version-2.2.1-green.svg)](https://cellprofileranalyst.org/releases) | [![Build Status](https://img.shields.io/badge/documentation-3.0.0-brightgreen.svg)](https://cellprofiler-manual.s3.amazonaws.com/CellProfiler-Analyst-3.0.0/index.html) | [![Build Status](https://img.shields.io/badge/forum-CPA-blue.svg)](https://forum.image.sc/tag/cellprofiler-analyst) |
99

1010
**CellProfiler Analyst** allows interactive exploration and analysis of data,
1111
particularly from high-throughput, image-based experiments. Included is a

cpa/classifier.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -630,7 +630,7 @@ def CreateMenus(self):
630630
rejectDuplicatesItem.Check(False)
631631
self.GetMenuBar().Append(advancedMenu, 'Advanced')
632632

633-
self.GetMenuBar().Append(cpa.helpmenu.make_help_menu(self, manual_url="https://cellprofiler.org/v-classifier"), 'Help')
633+
self.GetMenuBar().Append(cpa.helpmenu.make_help_menu(self, manual_url="5_classifier.html"), 'Help')
634634

635635

636636
# Bind events to different menu items

cpa/helpmenu.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import cpa
33
import cpa.icons
44
from cpa.updatechecker import check_update
5-
from cpa.util.version import display_version
5+
from cpa.util.version import display_version, __version__
66

77

88
def _on_check_update(self):
@@ -70,7 +70,8 @@ def _on_about(self):
7070
info.SetWebSite('cellprofileranalyst.org')
7171
AboutBox(info)
7272

73-
def make_help_menu(frame, main=False, manual_url="http://cellprofiler.org/CPA"):
73+
def make_help_menu(frame, main=False, manual_url="index.html"):
74+
manual_url = f"https://cellprofiler-manual.s3.amazonaws.com/CellProfiler-Analyst-{__version__}/{manual_url}"
7475
helpMenu = wx.Menu()
7576
def on_manual(self):
7677
import webbrowser

cpa/imagegallery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ def CreateMenus(self):
277277
saveObjMenuItem = advancedMenu.Append(-1, item='Save object thumbnails as PNG', helpString='Save object thumbnails as PNG')
278278
self.GetMenuBar().Append(advancedMenu, 'Advanced')
279279

280-
self.GetMenuBar().Append(cpa.helpmenu.make_help_menu(self, manual_url="https://cellprofiler.org/xiv-image-gallery"), 'Help')
280+
self.GetMenuBar().Append(cpa.helpmenu.make_help_menu(self, manual_url="14_image_gallery.html"), 'Help')
281281

282282
self.Bind(wx.EVT_MENU, self.OnShowImageControls, imageControlsMenuItem)
283283
self.Bind(wx.EVT_MENU, self.OnFetchObjThumbnails ,fetchObjMenuItem)

cpa/imageviewer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ def CreateMenus(self):
281281
self.classViewMenuItem = self.viewMenu.Append(-1, item='View %s classes as numbers'%p.object_name[0])
282282
self.classViewMenuItem.Enable(p.object_table is not None)
283283
self.GetMenuBar().Append(self.viewMenu, 'View')
284-
self.GetMenuBar().Append(cpa.helpmenu.make_help_menu(self, manual_url="https://cellprofiler.org/vii-image-viewer"), 'Help')
284+
self.GetMenuBar().Append(cpa.helpmenu.make_help_menu(self, manual_url="7_image_viewer.html"), 'Help')
285285

286286

287287
#######################################

cpa/plateviewer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def __init__(self, parent, size=(800,-1), **kwargs):
5454
self.fileMenu = wx.Menu()
5555
self.exitMenuItem = self.fileMenu.Append(id=wx.ID_EXIT, item='Exit\tCtrl+Q', helpString='Close Plate Viewer')
5656
self.GetMenuBar().Append(self.fileMenu, 'File')
57-
self.menuBar.Append(cpa.helpmenu.make_help_menu(self, manual_url="https://cellprofiler.org/viii-plate-viewer"), 'Help')
57+
self.menuBar.Append(cpa.helpmenu.make_help_menu(self, manual_url="8_plate_viewer.html"), 'Help')
5858
save_csv_menu_item = self.fileMenu.Append(-1, 'Save table to CSV\tCtrl+S')
5959
self.Bind(wx.EVT_MENU, self.on_save_csv, save_csv_menu_item)
6060

cpa/tableviewer.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ def __init__(self, parent, **kwargs):
562562
fit_cols_menu_item = column_width_menu.Append(-1, 'Fit to table', kind=wx.ITEM_RADIO)
563563
auto_cols_menu_item = column_width_menu.Append(-1, 'Auto width', kind=wx.ITEM_RADIO)
564564

565-
self.GetMenuBar().Append(cpa.helpmenu.make_help_menu(self, manual_url="https://cellprofiler.org/xii-table-viewer"), 'Help')
565+
self.GetMenuBar().Append(cpa.helpmenu.make_help_menu(self, manual_url="6_table_viewer.html"), 'Help')
566566

567567
self.CreateStatusBar()
568568

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
Manual 3.0.0
88
============
99

10-
.. image:: http://i.imgur.com/lNJcJPC.png
10+
.. image:: https://i.imgur.com/uaEp2md.png
1111

1212
Table of Contents:
1313

0 commit comments

Comments
 (0)