Skip to content
Snippets Groups Projects
Commit 900226fe authored by Alessandro Frigeri's avatar Alessandro Frigeri
Browse files

first example in README

parent d9d94028
No related branches found
No related tags found
No related merge requests found
...@@ -24,8 +24,9 @@ To use moondb module, simply do:: ...@@ -24,8 +24,9 @@ To use moondb module, simply do::
>>> import moondb >>> import moondb
>>> s_12023 = moondb.get_specimens(sc=['12023'])[0] >>> s_12023 = moondb.get_specimens(sc=['12023'])[0]
>>> print( type(s_12023) ) >>> print( type(s_12023) )
<class 'moondb.core.Specimen'>
>>> ", ".join( (s_12023.mission,s_12023.landmark,s_12023.specimenType) ) >>> ", ".join( (s_12023.mission,s_12023.landmark,s_12023.specimenType) )
'Apollo 12, SHARP CRATER, ROCK/Unclassified'
# How to cite MoonDB and python-moondb # How to cite MoonDB and python-moondb
......
No preview for this file type
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment