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 , 8 years ago
Milestone: | Beta Release → 0.5 |
---|
comment:2 by , 8 years ago
Milestone: | 0.5 → 0.6 |
---|
comment:3 by , 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.
comment:4 by , 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:6 by , 7 years ago
Milestone: | 0.7 → 0.8 |
---|
Toolshed classes now have "Supported API" notation. More classes need to be examined.
comment:7 by , 7 years ago
Classes listed on Developer index page
(*) = has at least one Supported API markup.
- Atom (*)
- CyAtom (*)
- AtomicStructure
- Structure
- StructureData (*)
- Model
- Structure
- Atoms
- Collection
- Bond (*)
- Camera
- Chain
- StructureSeq
- Sequence
- StructureSeq
- Command
- Drawing
- Grid_Data
- Lighting
- Log (*)
- Material
- Model
- Drawing
- MolecularSurface
- Surface
- Model
- Surface
- Place
- Residue
- CyResidue (*)
- Session
- Settings
- ToolInfo (*)
- ToolInstance
- State
- Toolshed (*)
- TriggerSet
- View
- Volume
- Model
Base classes not listed on Developer index page
- Collection
- CyAtom (*)
- CyResidue (*)
- ConfigFile
- Sequence
- State
- Structure
- StructureData (*)
- StructureSeq
- Surface
Some classes not listed on Developer index page
- CommandInfo, FormatInfo, BundleInfo
- Accessible from "toolshed" link.
- Has Supported API markup.
- Bonds, Residues, Models
- Other subclasses of Collection.
comment:8 by , 7 years ago
Status: | assigned → accepted |
---|
comment:9 by , 7 years ago
Priority: | blocker → major |
---|
comment:10 by , 7 years ago
Milestone: | 0.8 → 0.9 |
---|
comment:11 by , 6 years ago
Milestone: | 0.9 → 0.91 |
---|
comment:13 by , 6 years ago
Milestone: | 0.92 → RC 1 |
---|
comment:14 by , 5 years ago
Milestone: | RC 1 → 1.0 |
---|---|
Owner: | changed from | to
Status: | accepted → assigned |
Summary: | Document and annotate core API → Revise 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 , 5 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
The new open/save APIs were documented before the RC1 release.
Milestone renamed