Opened 8 years ago

Closed 5 years ago

#922 closed defect (fixed)

Revise tutorials for new data format and bundle APIs

Reported by: Conrad Huang Owned by: pett
Priority: major Milestone: 1.0
Component: Documentation Version:
Keywords: Cc: chimera-programmers@…
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Need to document APIs referenced in tutorials and annotate methods as to whether they are part of the public API

Change History (15)

comment:1 by pett, 8 years ago

Milestone: Beta Release0.5

Milestone renamed

comment:2 by Conrad Huang, 8 years ago

Milestone: 0.50.6

comment:3 by Conrad Huang, 8 years ago

ChimeraX 0.6 APIs will include those used in tutorials

APIs used in tutorials (so far)

:py:class:`chimerax.core.atomic.Atom`
:py:class:`chimerax.core.atomic.AtomicStructure`
:py:class:`chimerax.core.atomic.Bond`
:py:class:`chimerax.core.atomic.Collection`
:py:class:`chimerax.core.atomic.Residue`
:py:class:`chimerax.core.commands`
:py:class:`chimerax.core.commands.cli.CmdDesc`
:py:class:`chimerax.core.commands.ModelsArg`
:py:class:`chimerax.core.commands.register`
:py:class:`chimerax.core.commands.register_selector`
:py:func:`chimerax.core.commands.cli.register`
:py:func:`chimerax.core.commands.run`
:py:class:`chimerax.core.logger.Logger`
:py:class:`chimerax.core.models.Model`
:py:class:`chimerax.core.objects.Objects`
:py:class:`chimerax.core.session.Session`
:py:class:`chimerax.core.toolshed.BundleAPI`
:py:class:`chimerax.core.toolshed.BundleInfo`
:py:class:`chimerax.core.toolshed.CommandInfo`
:py:class:`chimerax.core.toolshed.SelectorInfo`
:py:class:`chimerax.core.toolshed.ToolInfo`
:py:class:`~chimerax.core.toolshed.BundleAPI.fetch_from_database`
:py:class:`~chimerax.core.toolshed.BundleAPI.finish`
:py:class:`~chimerax.core.toolshed.BundleAPI.get_class`
:py:class:`~chimerax.core.toolshed.BundleAPI.initialize`
:py:class:`~chimerax.core.toolshed.BundleAPI.open_file`
:py:class:`~chimerax.core.toolshed.BundleAPI.register_command`
:py:class:`~chimerax.core.toolshed.BundleAPI.register_selector`
:py:class:`~chimerax.core.toolshed.BundleAPI.save_file`
:py:class:`~chimerax.core.toolshed.BundleAPI.start_tool`
:py:class:`chimerax.core.ui.HtmlToolInstance`
:py:class:`chimerax.core.ui.widgets.HtmlView.
:py:func:`chimerax.core.io.open_filename`

Source code will also need to be updated so that supported API functions, methods and attributes are annotated with the string "Supported API" at the beginning of their doc-strings. The first time an API entry is proposed, it should be labeled with "Supported API: proposed x.y" where x.y is the ChimeraX version in which this entry is officially supported. When ChimeraX x.y is released, the doc-string must be changed to "Supported API: added x.y". Once an API has been "added", it can never go back to being "proposed". Instead, keywords added after the initial API should be annotated with "proposed: x.y" during development and "added: x.y" when committed/released.

Last edited 7 years ago by pett (previous) (diff)

comment:4 by pett, 8 years ago

Marked supported APIs for chimerax.core.atomic.Atom. I'm assuming that "chimerax.core.atomic.Atom" doesn't imply chimerax.core.atomic.Atoms, which I did not mark up (but which could probably be deduced from the Atom API markup).

comment:5 by Conrad Huang, 8 years ago

Milestone: 0.60.7

More verification and editing needed.

comment:6 by Conrad Huang, 7 years ago

Milestone: 0.70.8

Toolshed classes now have "Supported API" notation. More classes need to be examined.

comment:7 by Conrad Huang, 7 years ago

Classes listed on Developer index page

(*) = has at least one Supported API markup.

Base classes not listed on Developer index page

Some classes not listed on Developer index page

  • Bonds, Residues, Models
    • Other subclasses of Collection.

comment:8 by Conrad Huang, 7 years ago

Status: assignedaccepted

comment:9 by Conrad Huang, 7 years ago

Priority: blockermajor

comment:10 by Conrad Huang, 7 years ago

Milestone: 0.80.9

comment:11 by Conrad Huang, 6 years ago

Milestone: 0.90.91

comment:12 by Conrad Huang, 6 years ago

Milestone: 0.910.92

Ticket retargeted after milestone closed

comment:13 by Conrad Huang, 6 years ago

Milestone: 0.92RC 1

comment:14 by Conrad Huang, 5 years ago

Milestone: RC 11.0
Owner: changed from Conrad Huang to pett
Status: acceptedassigned
Summary: Document and annotate core APIRevise tutorials for new data format and bundle APIs

The API used in tutorials were documented a while back. With the changes in the file format/open/save handling introduced in 0.93, Eric will be revising the tutorials to use the new supported bundle and io APIs.

comment:15 by pett, 5 years ago

Resolution: fixed
Status: assignedclosed

The new open/save APIs were documented before the RC1 release.

Note: See TracTickets for help on using tickets.