Skip to content

Commit

Permalink
Merge pull request #13 from ivoa/release-0.1
Browse files Browse the repository at this point in the history
Release 0.1
  • Loading branch information
lmichel authored Aug 29, 2024
2 parents cb1682d + aa62198 commit 38cff42
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 1,662 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ There are two snippet generators available in this package:
```bash
$ mivot-snippet-model [VODML path or url]

USAGE: mivot-snippet-model [path] [output_dir]
USAGE: mivot-snippet-model [url] [output_dir]
Create MIVOT snippets from VODML files
path: either a simple file to any VODML-Model or an ur
output_dir: (optional) path to the chosen output directory (session working directory by default)
url: url of any VODML-Model (must be prefixed with file:// in case of local file)
output_dir: path to the chosen output directory (session working directory by default)
exit status: 0 in case of success, 1 otherwise
```
Expand Down
6 changes: 3 additions & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -129,10 +129,10 @@ Build all MIVOT snippets for a model
$ mivot-snippet-model [VODML path or url]
USAGE: mivot-snippet-model [path] [output_dir]
USAGE: mivot-snippet-model [url] [output_dir]
Create MIVOT snippets from VODML files
path: either a simple file to any VODML-Model or an ur
output_dir: (optional) path to the chosen output directory (session working directory by default)
url: url of any VODML-Model (must be prefixed with file:// in case of local file)
output_dir: path to the chosen output directory(session working directory by default)
exit status: 0 in case of success, 1 otherwise
Build the MIVOT snippet for one model class with resolving abstract types:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def __init__(self, vodml_path, session):
.split("_")[0]
.split("-")[0]
)

session.install_vodml(self.model_name, vodml_path, force=True)
super().__init__(self.model_name, "", session)

def build(self):
Expand Down
Loading

0 comments on commit 38cff42

Please sign in to comment.