Skip to content

Commit

Permalink
numpydoc
Browse files Browse the repository at this point in the history
  • Loading branch information
rharkes committed Oct 7, 2024
1 parent 45bc023 commit a390864
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions src/pyhaloxml/HaloXML.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,6 @@
A package for parsing .annotations files from Halo.
It can load .annotation files and store them as .geojson. The geojson will be QuPath compatible.
Examples
--------
Converting an annotations file to geojson:
>>> from pyhaloxml import HaloXML
>>> hx = HaloXML()
>>> hx.load(r'c:\\test.annotations')
>>> hx.matchnegative()
>>> hx.to_geojson(r'c:\\test.geojson')
Using the contextmanager to do the same thing:
>>> from pyhaloxml import HaloXMLFile
>>> with HaloXML(r'c:\\test.annotations') as hx:
>>> hx.matchnegative()
>>> hx.to_geojson(r'c:\\test.geojson')
"""

import io
Expand Down Expand Up @@ -48,12 +31,6 @@ class HaloXMLFile(AbstractContextManager[Any]):
mode : str
'r' = read (default).
'w' = write.
Attributes
----------
Methods
-------
"""

def __init__(
Expand Down

0 comments on commit a390864

Please sign in to comment.